]> git.babelmonkeys.de Git - socialXMPP.git/commitdiff
Remove wrong "var"s
authorFlorian Zeitz <florob@babelmonkeys.de>
Wed, 17 Mar 2010 18:55:47 +0000 (19:55 +0100)
committerFlorian Zeitz <florob@babelmonkeys.de>
Wed, 17 Mar 2010 18:55:47 +0000 (19:55 +0100)
* Remove accidentally added "var"s

scripts/basic.js

index c1ba6cbbfd580f7e8e3a81b4fe3f4c11067f36c2..7038a9a38b214a478b8db601270f4f307a5bece7 100644 (file)
@@ -443,12 +443,12 @@ function stopDrag(eve) {
     dragElement = null;
 }
 
-var onunload = function() {
+onunload = function() {
     if (connection) {
        connection.disconnect();
     }
 };
 
-var onmousemove = doDrag;
-var onmouseup = stopDrag;
+onmousemove = doDrag;
+onmouseup = stopDrag;