summaryrefslogtreecommitdiff
path: root/javas
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2015-08-30 19:24:09 +0200
committeremkael <emkael@tlen.pl>2015-08-30 19:24:09 +0200
commit0be4e6e0d6f57019086f566ab976633a562011e8 (patch)
tree653a632f8408455e77133bb6e7d9c38e15efaddb /javas
parent5c8774883c3fd7d5234cebacf512e4ebf28545ab (diff)
* bidding table style fixes
Diffstat (limited to 'javas')
-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() {