Replace $ by document.id for avoid colitions.
This commit is contained in:
@@ -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(),
|
||||
|
Reference in New Issue
Block a user