Skip to content

Commit

Permalink
N.alert, N.popup : A bug with the windowScrollLock option being reversed
Browse files Browse the repository at this point in the history
has been fixed.
  • Loading branch information
81801210 authored and 81801210 committed Nov 9, 2018
1 parent 383792c commit 0a3df63
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
6 changes: 3 additions & 3 deletions dist/natural.js.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/natural.js.min.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/natural.ui.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 4 additions & 6 deletions src/natural.ui.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/*!
* Natural-UI v0.32.134
* Natural-UI v0.32.135
*
* Released under the LGPL v2.1 license
* Date: 2014-09-26T11:11Z
*
* Copyright 2014 KIM HWANG MAN(bbalganjjm@gmail.com)
*/
(function(window, $) {
N.version["Natural-UI"] = "0.32.134";
N.version["Natural-UI"] = "0.32.135";

$.fn.extend($.extend(N.prototype, {
alert : function(msg, vars) {
Expand Down Expand Up @@ -592,10 +592,8 @@
opts.msgContents.find(".msg_box__").height(opts.height).css("overflow-y", "auto");
}

if(!opts.windowScrollLock) {
if(opts.modal) {
N.event.windowScrollLock(opts.msgContext);
}
if(opts.modal && opts.windowScrollLock) {
N.event.windowScrollLock(opts.msgContext);
}

//set confirm button style and bind click event
Expand Down

0 comments on commit 0a3df63

Please sign in to comment.