Commit b006a43
committed
Update jquery.msgBox.js
In the functin show() there is a statement $(window).bind("resize", function (e) { ... }) to register a resize event handler to the window but no corresponding statement $(window).unbind("resize") in the function hide(). If we create new msgBox and close it and then repeat this operation for several times the DOM count will increase gradually.1 parent d98c0d4 commit b006a43
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| 227 | + | |
227 | 228 | | |
228 | 229 | | |
229 | 230 | | |
| |||
0 commit comments