diff options
author | Nicolai Tellefsen <niccofyren@gmail.com> | 2016-03-22 20:48:31 +0100 |
---|---|---|
committer | Nicolai Tellefsen <niccofyren@gmail.com> | 2016-03-22 20:48:31 +0100 |
commit | 83bf82a8388e0207712b1fe9caff8935bcd06d46 (patch) | |
tree | d8ac4864a090c48b78cc005e372e1bc28f9ae974 /web/nms.gathering.org/js/nms-info-box.js | |
parent | c70e294a0425a7d417bcf41677a55970e9e59489 (diff) |
NMS: Fix popovers embeded in info boxes
Diffstat (limited to 'web/nms.gathering.org/js/nms-info-box.js')
-rw-r--r-- | web/nms.gathering.org/js/nms-info-box.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/nms.gathering.org/js/nms-info-box.js b/web/nms.gathering.org/js/nms-info-box.js index 2d12d56..e2c8eb7 100644 --- a/web/nms.gathering.org/js/nms-info-box.js +++ b/web/nms.gathering.org/js/nms-info-box.js @@ -88,6 +88,7 @@ nmsInfoBox._show = function(argument) { } this._container.appendChild(panel); this._container.style.display = "block"; + $('[data-toggle="popover"]').popover({placement:"top",container:'body'}); }; /* @@ -251,7 +252,6 @@ nmsInfoBox._windowTypes.switchInfo = { var commenttable = nmsInfoBox._makeCommentTable(comments); commenttable.id = "info-switch-comments-table"; domObj.appendChild(commenttable); - $(function () { $('[data-toggle="popover"]').popover({placement:"top",continer:'body'}) }) } // We have no data for this switch, but its still correct |