projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
corretta descrizione e topic della chat
[brisk.git]
/
web
/
dom-drag.js
diff --git
a/web/dom-drag.js
b/web/dom-drag.js
index
5618df4
..
baf4b66
100644
(file)
--- a/
web/dom-drag.js
+++ b/
web/dom-drag.js
@@
-16,6
+16,8
@@
* not, write to the Free Software Foundation, Inc, 59 Temple Place -
\r
* Suite 330, Boston, MA 02111-1307, USA.
\r
*
\r
* not, write to the Free Software Foundation, Inc, 59 Temple Place -
\r
* Suite 330, Boston, MA 02111-1307, USA.
\r
*
\r
+ * $Id$
\r
+ *
\r
*/
\r
\r
/**************************************************
\r
*/
\r
\r
/**************************************************
\r
@@
-44,12
+46,12
@@
var Drag = {
o.root = oRoot && oRoot != null ? oRoot : o ;
\r
\r
if (o.hmode && isNaN(parseInt(o.root.style.left ))) {
\r
o.root = oRoot && oRoot != null ? oRoot : o ;
\r
\r
if (o.hmode && isNaN(parseInt(o.root.style.left ))) {
\r
- o.root.style.left =
windo
w.getComputedStyle(o, "").getPropertyValue("left");
\r
+ o.root.style.left =
document.defaultVie
w.getComputedStyle(o, "").getPropertyValue("left");
\r
if (isNaN(parseInt(o.root.style.left)))
\r
o.root.style.left = "0px";
\r
}
\r
if (o.vmode && isNaN(parseInt(o.root.style.top ))) {
\r
if (isNaN(parseInt(o.root.style.left)))
\r
o.root.style.left = "0px";
\r
}
\r
if (o.vmode && isNaN(parseInt(o.root.style.top ))) {
\r
- o.root.style.top =
windo
w.getComputedStyle(o, "").getPropertyValue("top");
\r
+ o.root.style.top =
document.defaultVie
w.getComputedStyle(o, "").getPropertyValue("top");
\r
if (isNaN(parseInt(o.root.style.top)))
\r
o.root.style.top = "0px";
\r
}
\r
if (isNaN(parseInt(o.root.style.top)))
\r
o.root.style.top = "0px";
\r
}
\r