Remove UserAgent class. Use mootools.

This commit is contained in:
Paulo Veiga
2011-08-09 02:27:59 -03:00
parent 7d9af403fe
commit fb24d7c9a5
6 changed files with 6 additions and 142 deletions

View File

@@ -171,7 +171,7 @@ mindplot.Workspace = new Class({
workspace.setCoordOrigin(coordOriginX, coordOriginY);
// Change cursor.
if (core.UserAgent.isMozillaFamily()) {
if (Browser.firefox) {
window.document.body.style.cursor = "-moz-grabbing";
} else {
window.document.body.style.cursor = "move";