Skip to content

Commit bc05286

Browse files
ulladimilmistic100
authored andcommitted
Unsubscribe for body click event (#95)
1 parent 9720b45 commit bc05286

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/confirmation.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ class Confirmation extends Popover {
304304
return $(this).data(DATA_KEY) !== undefined;
305305
}).confirmation('hide');
306306

307-
$('body').off(`${Event.SHOWN}.${self.uid}`);
307+
$('body').off(`${Event.CLICK}.${self.uid}`);
308308
self.eventBody = false;
309309
});
310310
}

0 commit comments

Comments
 (0)