From: Florian Zeitz Date: Wed, 17 Mar 2010 18:55:47 +0000 (+0100) Subject: Remove wrong "var"s X-Git-Url: https://git.babelmonkeys.de/?a=commitdiff_plain;h=3b6d97305c6ce575c1dd8d32756972ea44ba73af;p=socialXMPP.git Remove wrong "var"s * Remove accidentally added "var"s --- diff --git a/scripts/basic.js b/scripts/basic.js index c1ba6cb..7038a9a 100644 --- a/scripts/basic.js +++ b/scripts/basic.js @@ -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;