Permalink
Browse files

feat: dialog mousewheel forbidden

  • Loading branch information...
BoyuZhou committed Sep 8, 2016
1 parent d9f0fdf commit c8da2a68735d538bd35c27ec762b25260a9f801e
Showing with 2 additions and 0 deletions.
  1. +2 −0 js/neoui-dialog.js
@@ -355,6 +355,7 @@ var dialogWizard = function(options) {
var wizard = function() {}
wizard.prototype.show = function() {
dialogs[curIndex].show();
disable_mouseWheel();
}
wizard.prototype.next = function() {
dialogs[curIndex].hide();
@@ -368,6 +369,7 @@ var dialogWizard = function(options) {
for(var i = 0; i < len; i++) {
dialogs[i].close();
}
enable_mouseWheel();
}
return new wizard();
}

0 comments on commit c8da2a6

Please sign in to comment.