From a97adcac7b3cf6de263c9d63533e1804ebcd79f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1=20Smodi=C5=A1?= Date: Thu, 16 Jul 2015 15:06:03 +0200 Subject: Fix backgound of popups. --- js/prolog.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/prolog.js b/js/prolog.js index 2037524..df2a1b0 100644 --- a/js/prolog.js +++ b/js/prolog.js @@ -27,8 +27,8 @@ animateScroll: false, promptHistory: false, welcomeMessage: 'Prolog REPL.' - }), - /** Object. */ hintDefs = info.hint, + }), /** Object. */ + hintDefs = info.hint, hintCounter = 0, // for generating unique class-names hintCleaners = [], clearHints = function () { @@ -96,7 +96,7 @@ mark = null; });*/ - jqMark.popover({content: template, html: true, placement: 'auto bottom', trigger: 'click'}); + jqMark.popover({content: template, html: true, placement: 'auto bottom', trigger: 'click', container: 'body'}); hintCleaners.push(function () { if (jqMark) { jqMark.popover('destroy'); jqMark = null; } }); }, 'dropdown': function (type, template, serverHint) { -- cgit v1.2.1