Browse Source

Popup: respect the closable option for all kinds of popups, not just those with on='click'

pull/6218/head
Jan Rychter 6 years ago
parent
commit
46e272ab80
1 changed files with 1 additions and 1 deletions
  1. 2
      src/definitions/modules/popup.js

2
src/definitions/modules/popup.js

@ -1015,7 +1015,7 @@ $.fn.popup = function(parameters) {
if(settings.on == 'hover' && openedWithTouch) {
module.bind.touchClose();
}
if(settings.on == 'click' && settings.closable) {
if(settings.closable) {
module.bind.clickaway();
}
},

Loading…
Cancel
Save