[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 04/04: Position in javascript must use unity
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 04/04: Position in javascript must use unity |
Date: |
Sun, 09 Mar 2014 15:07:31 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit a2227cf4a2cea3b4cf517d8ba6fba56bd4736740
Author: Dany De Bontridder <address@hidden>
Date: Sun Mar 9 16:04:13 2014 +0100
Position in javascript must use unity
---
html/js/scripts.js | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/html/js/scripts.js b/html/js/scripts.js
index 31223cb..da1a98f 100644
--- a/html/js/scripts.js
+++ b/html/js/scripts.js
@@ -1919,8 +1919,8 @@ function display_task(p_id)
new Effect.Highlight(obj.id, {scroll: window, queue: 'end'});
}}
);
- $(p_id).style.top = posY;
- $(p_id).style.left = posX;
+ $(p_id).style.top = posY+'px';
+ $(p_id).style.left = posX+'px';
$(p_id).style.display = 'block';
}
@@ -2336,8 +2336,8 @@ function search_display_tag(p_dossier, p_prefix)
code_html = unescape_xml(code_html);
remove_waiting_box();
add_div({id: p_prefix + 'tag_div', style: '',
cssclass: 'inner_box', drag: 1});
- $(p_prefix + 'tag_div').style.top = posY - 80;
- $(p_prefix + 'tag_div').style.left = posX - 200;
+ $(p_prefix + 'tag_div').style.top = posY - 80+"px";
+ $(p_prefix + 'tag_div').style.left = posX - 200+"px";
remove_waiting_box();
$(p_prefix + 'tag_div').innerHTML = code_html;