Commit 0e685fcb by Xavier Antoviaque

popup-click-close: Only close the popup when clicking on the close 'x'

It used to close when any part of the popup would be clicked.
parent ab07bc5f
...@@ -28,7 +28,7 @@ function MessageView(element) { ...@@ -28,7 +28,7 @@ function MessageView(element) {
} }
popupDOM.show(); popupDOM.show();
popupDOM.on('click', function() { $('.close', popupDOM).on('click', function() {
self.clearPopupEvents(); self.clearPopupEvents();
}); });
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment