Skip to content
This repository has been archived by the owner on May 31, 2021. It is now read-only.

修复popup 极快速点击多次以后假死 #582

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/js/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
container.find('.weui-popup__modal').transitionEnd(function() {
var $this = $(this);
$this.trigger("close");
container.hide();
remove && container.remove();
})
});
container.hide();
container.removeClass("weui-popup__container--visible")
};

Expand Down