Replace $ by document.id for avoid colitions.

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

View File

@@ -193,14 +193,14 @@ mindplot.DesignerKeyboard = new Class({
'ctrl+s':function (event) {
event.preventDefault();
event.stopPropagation();
$('save').fireEvent('click');
document.id('save').fireEvent('click');
},
'meta+s':function (event) {
event.preventDefault();
event.stopPropagation();
$('save').fireEvent('click');
document.id('save').fireEvent('click');
},
'ctrl+i':function (event) {
@@ -350,7 +350,7 @@ mindplot.DesignerKeyboard = new Class({
excludes.push("alt");
}
$(document).addEvent('keydown', function (event) {
document.id(document).addEvent('keydown', function (event) {
// Convert key to mootools keyboard event format...
var keys = [];