summaryrefslogtreecommitdiff
path: root/javas/bidding.js
diff options
context:
space:
mode:
Diffstat (limited to 'javas/bidding.js')
-rw-r--r--javas/bidding.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/javas/bidding.js b/javas/bidding.js
index 5165aa8..5932e66 100644
--- a/javas/bidding.js
+++ b/javas/bidding.js
@@ -3,11 +3,11 @@ var display_bidding = function(element, bidding) {
popup.css({
'position': 'absolute',
'width': '250px',
- 'left': element.position().left + element.width(),
- 'top': element.position().top
+ 'left': element.offset().left + element.width(),
+ 'top': element.offset().top
});
popup.html(bidding);
- element.after(popup);
+ $('body').append(popup);
}
var load_bidding = function() {