We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fed9706 commit 06d98f0Copy full SHA for 06d98f0
bower.json
@@ -1,6 +1,6 @@
1
{
2
"name": "angular-wtpbox",
3
- "version": "0.0.7",
+ "version": "0.0.8",
4
"main": "src/pbox.js",
5
"dependencies": {
6
"angular": "~1.2.25",
src/pbox.js
@@ -247,10 +247,10 @@
247
248
BoxModal.prototype._bindEvents = function () {
249
var _self = this;
250
- _self._pboxElement.bind("click.pbox",function(e){
+ _self._pboxElement.bind("mousedown.pbox",function(e){
251
e.stopPropagation();
252
});
253
- $document.bind("click.pbox" + this._id, function (e) {
+ $document.bind("mousedown.pbox" + this._id, function (e) {
254
var _eTarget = angular.element(e.target);
255
if (util.hasClass(_eTarget, 'pbox')) {
256
return;
0 commit comments