Skip to content

Commit

Permalink
fix details of fade
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisddzin committed Sep 23, 2019
1 parent 43841b7 commit 8a3565d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion liq-modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function modalStyle(modalEl, options) {

function fade (modalEl, count, options) {
let { fadeTime } = options
let interval = fadeTime
let interval = fadeTime || 0
let fadeOpacity = count > 0 ? 0.0 : 1

modalEl.style.opacity = fadeOpacity
Expand Down

0 comments on commit 8a3565d

Please sign in to comment.