diff options
author | Aleš Smodiš <aless@guru.si> | 2015-07-16 15:06:03 +0200 |
---|---|---|
committer | Aleš Smodiš <aless@guru.si> | 2015-07-16 15:06:03 +0200 |
commit | a97adcac7b3cf6de263c9d63533e1804ebcd79f8 (patch) | |
tree | 2da19b7e1b6992276806baf39479d2369b85471d | |
parent | 8714f44195abe833650af287c25cd752617523f1 (diff) |
Fix backgound of popups.
-rw-r--r-- | js/prolog.js | 6 |
1 files 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.<string, HintDefinition> */ hintDefs = info.hint, + }), /** Object.<string, HintDefinition> */ + 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) { |