diff options
author | Adrian Lang <lang@cosmocode.de> | 2010-03-15 16:57:38 +0100 |
---|---|---|
committer | Adrian Lang <lang@cosmocode.de> | 2010-03-15 17:00:50 +0100 |
commit | fda42deb082e4bdb560818a9c23b96f9312176d5 (patch) | |
tree | 00320dee9b6beee838bcdcdc55cb6dea013c690c /lib/scripts/drag.js | |
parent | c7cb395c4ee1339709918b7675e91d3d3b10050d (diff) | |
download | dokuwiki-fda42deb082e4bdb560818a9c23b96f9312176d5.tar.gz dokuwiki-fda42deb082e4bdb560818a9c23b96f9312176d5.zip |
Various JavaScript fixes
* Syntax error fixed
* lock refresh event is now attached to the whole edit form since it bubbles
up and we cannot be sure that the wikitext input exists on all edit forms
* Updated findPos(X|Y)
* Easier and less error-prone way of getting the section edit button in the
highlight mouseover event handler
Diffstat (limited to 'lib/scripts/drag.js')
-rw-r--r-- | lib/scripts/drag.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/scripts/drag.js b/lib/scripts/drag.js index 254eab4a6..169be5219 100644 --- a/lib/scripts/drag.js +++ b/lib/scripts/drag.js @@ -83,6 +83,5 @@ var drag = { this.obj.style.top = (e.pageY+this.oY-this.eY+'px'); this.obj.style.left = (e.pageX+this.oX-this.eX+'px'); } - }, - + } }; |