Skip to content

Commit 957d0e0

Browse files
committed
fixed body click event bug on async mode
1 parent 742f781 commit 957d0e0

File tree

6 files changed

+6
-4
lines changed

6 files changed

+6
-4
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "webui-popover",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"authors": [
55
"sandywalker <sanddywalker@gmail.com>"
66
],

dist/jquery.webui-popover.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@
299299
}
300300
},
301301
success:function(data){
302+
that.bindBodyEvents();
302303
if (content&&$.isFunction(content)){
303304
that.content = content.apply(that.$element[0],[data]);
304305
}else{

dist/jquery.webui-popover.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "A enhancement popover plugin for Bootstrap ,but you can use it stand-alone without Bootstrap!",
55
"author": "Sandy Walker",
66
"homepage": "https://github.com/sandywalker/webui-popover",
7-
"version": "1.1.1",
7+
"version": "1.1.2",
88
"devDependencies": {
99
"grunt": "~0.4.1",
1010
"grunt-cli": "~0.1.7",

src/jquery.webui-popover.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,7 @@
291291
}
292292
},
293293
success:function(data){
294+
that.bindBodyEvents();
294295
if (content&&$.isFunction(content)){
295296
that.content = content.apply(that.$element[0],[data]);
296297
}else{

webui-popover.jquery.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"webui",
99
"pop"
1010
],
11-
"version":"1.1.1",
11+
"version":"1.1.2",
1212
"author": {
1313
"name": "Sandy Duan",
1414
"email": "sanddywalker@gmail.com",

0 commit comments

Comments
 (0)