diff options
author | Andreas Gohr <andi@splitbrain.org> | 2011-07-08 11:59:59 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2011-07-08 11:59:59 +0200 |
commit | 6d23f6ac8b2f04af9a78315a31c70193e672999b (patch) | |
tree | 4705648692c25728f9fc23d0a12c37ebe8d8bcd7 /lib | |
parent | d57b00771430e5ae76d25920e2a49d8a0adda651 (diff) | |
download | rpg-6d23f6ac8b2f04af9a78315a31c70193e672999b.tar.gz rpg-6d23f6ac8b2f04af9a78315a31c70193e672999b.tar.bz2 |
fixed linkwiz position
Diffstat (limited to 'lib')
-rw-r--r-- | lib/scripts/linkwiz.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/scripts/linkwiz.js b/lib/scripts/linkwiz.js index 14fa33795..110533a81 100644 --- a/lib/scripts/linkwiz.js +++ b/lib/scripts/linkwiz.js @@ -24,16 +24,14 @@ var dw_linkwiz = { init: function($editor){ // position relative to the text area var pos = $editor.position(); - pos.left += 20; - pos.right += 80; // create HTML Structure dw_linkwiz.$wiz = jQuery(document.createElement('div')) .attr('id','link__wiz') .css({ 'position': 'absolute', - 'top': pos.left+'px', - 'left': pos.top+'px', + 'top': (pos.top+20)+'px', + 'left': (pos.left+80)+'px', 'margin-left': '-10000px', 'margin-top': '-10000px' }) |