summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAleš Smodiš <aless@guru.si>2015-07-16 15:06:03 +0200
committerAleš Smodiš <aless@guru.si>2015-07-16 15:06:03 +0200
commita97adcac7b3cf6de263c9d63533e1804ebcd79f8 (patch)
tree2da19b7e1b6992276806baf39479d2369b85471d /js
parent8714f44195abe833650af287c25cd752617523f1 (diff)
Fix backgound of popups.
Diffstat (limited to 'js')
-rw-r--r--js/prolog.js6
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) {