MediaWiki:Common.js: Difference between revisions

From Vintage Story Wiki
No edit summary
No edit summary
Line 144: Line 144:
var left = parent.left - item.left + (parent.width / 2);
var left = parent.left - item.left + (parent.width / 2);
var $tail = $('<div class="tail"></div>').css({
/*var $tail = $('<div class="tail"></div>').css({
height: 1
height: 1
                                 });
                                 });*/
item.el.prepend($tail);
//item.el.prepend($tail);
                                item.el.find(".tail").css("height", "1");
});
});
});
});