no writes to $.Poshytip if it is not loaded
This commit is contained in:
@ -2,6 +2,11 @@ X-editable changelog
|
|||||||
=============================
|
=============================
|
||||||
|
|
||||||
|
|
||||||
|
Version 1.4.4 wip
|
||||||
|
----------------------------
|
||||||
|
[bug] editable-poshytip on inline mode tries to write in $.Poshytip (vitalets)
|
||||||
|
|
||||||
|
|
||||||
Version 1.4.3 Mar 8, 2013
|
Version 1.4.3 Mar 8, 2013
|
||||||
----------------------------
|
----------------------------
|
||||||
[bug #32] hotfix for jQuery UI 1.9+ (vitalets)
|
[bug #32] hotfix for jQuery UI 1.9+ (vitalets)
|
||||||
|
@ -105,6 +105,7 @@
|
|||||||
* see https://github.com/vadikom/poshytip/issues/7
|
* see https://github.com/vadikom/poshytip/issues/7
|
||||||
*/
|
*/
|
||||||
/*jshint eqeqeq:false, curly: false*/
|
/*jshint eqeqeq:false, curly: false*/
|
||||||
|
if($.Poshytip) { //need this check, because in inline mode poshytip may not be loaded!
|
||||||
var tips = [],
|
var tips = [],
|
||||||
reBgImage = /^url\(["']?([^"'\)]*)["']?\);?$/i,
|
reBgImage = /^url\(["']?([^"'\)]*)["']?\);?$/i,
|
||||||
rePNG = /\.png$/i,
|
rePNG = /\.png$/i,
|
||||||
@ -199,5 +200,6 @@
|
|||||||
this.$tip.css({left: this.pos.l, top: this.pos.t});
|
this.$tip.css({left: this.pos.l, top: this.pos.t});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
/*jshinteqeqeq: true, curly: true*/
|
/*jshinteqeqeq: true, curly: true*/
|
||||||
}(window.jQuery));
|
}(window.jQuery));
|
Reference in New Issue
Block a user