Replace $ by document.id for avoid colitions.

This commit is contained in:
Paulo Gustavo Veiga
2014-02-17 10:16:43 -03:00
parent ac50c6633c
commit ef164cc831
16 changed files with 47 additions and 47 deletions

View File

@@ -32,7 +32,7 @@ mindplot.widget.ToolbarItem = new Class({
_registerTip: function() {
return new mindplot.widget.FloatingTip($(this._buttonId), {
return new mindplot.widget.FloatingTip(document.id(this._buttonId), {
html: false,
position: 'bottom',
arrowOffset : 5,
@@ -50,7 +50,7 @@ mindplot.widget.ToolbarItem = new Class({
},
getButtonElem : function() {
var elem = $(this._buttonId);
var elem = document.id(this._buttonId);
$assert(elem, "Could not find element for " + this._buttonId);
return elem;
}.protect(),