Browse Source

Mind in the wrong place

pull/5282/head
Jack Lukic 7 years ago
parent
commit
56c56645d6
1 changed files with 3 additions and 3 deletions
  1. 6
      src/definitions/modules/popup.js

6
src/definitions/modules/popup.js

@ -986,13 +986,13 @@ $.fn.popup = function(parameters) {
},
close: function() {
if(settings.hideOnScroll === true || (settings.hideOnScroll == 'auto' && settings.on != 'click')) {
tpl.bind.closeOnScroll();
module.bind.closeOnScroll();
}
if(settings.on == 'hover' && openedWithTouch) {
tpl.bind.touchClose();
module.bind.touchClose();
}
if(settings.on == 'click' && settings.closable) {
tpl.bind.clickaway();
module.bind.clickaway();
}
},
closeOnScroll: function() {

Loading…
Cancel
Save