##// END OF EJS Templates
Cleaned up popups function in JS.
neko259 -
r223:59ce9646 default
parent child Browse files
Show More
@@ -15,15 +15,15 b' function addPopups() {'
15 15 if (refNum != null) {
16 16 var self = $(this);
17 17
18 $(this).mouseenter(function(e) {
18 $(this).mouseenter(function() {
19 19 $.get('/get_post/' + refNum, function(data) {
20 20 var popup = $('<div/>').html(data)
21 var linkPosition = self.position();
22 21
23 22 popup.dialog({
24 23 modal: false,
25 24 minHeight: 0,
26 25 });
26
27 27 popup.position({
28 28 my: "left+20 top+20",
29 29 at: "right bottom",
General Comments 0
You need to be logged in to leave comments. Login now