summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZalmoxisus <zalmoxisus@gmail.com>2014-11-17 17:37:53 +0200
committerZalmoxisus <zalmoxisus@gmail.com>2014-11-17 17:37:53 +0200
commit4279d8eb2a509289d21582befe38749138a82793 (patch)
tree549398cc09c96dd62acae7b4e2c00f3986d3d2ed
parentdc9a8c248b7a2c7b31fd3ae3ec4802968b7ccb9c (diff)
downloadjQuery-Impromptu-4279d8eb2a509289d21582befe38749138a82793.zip
jQuery-Impromptu-4279d8eb2a509289d21582befe38749138a82793.tar.gz
jQuery-Impromptu-4279d8eb2a509289d21582befe38749138a82793.tar.bz2
Implements callCallback for jQuery.prompt.close
Partially solves the issue #46
-rw-r--r--dist/jquery-impromptu.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/dist/jquery-impromptu.js b/dist/jquery-impromptu.js
index 4da8692..26889fc 100644
--- a/dist/jquery-impromptu.js
+++ b/dist/jquery-impromptu.js
@@ -1,6 +1,6 @@
-/*! jQuery-Impromptu - v5.3.0 - 2014-11-16
-* http://trentrichardson.com/Impromptu
-* Copyright (c) 2014 Trent Richardson; Licensed MIT */
+/*! jQuery-Impromptu - v5.3.0 - 2014-11-16
+* http://trentrichardson.com/Impromptu
+* Copyright (c) 2014 Trent Richardson; Licensed MIT */
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define(['jquery'], factory);
@@ -702,6 +702,8 @@
imp.jqib.remove();
$(window).off('resize',imp.position);
+
+ if(typeof callCallback === 'function') callCallback();
});
}
imp.currentStateName = "";