diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/script.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/script.js b/data/script.js index 43cb45e..c3f6bc2 100644 --- a/data/script.js +++ b/data/script.js @@ -116,4 +116,7 @@ $(document).ready (function () { /* hide button “learn more” */ $('#about').on ({'shown.bs.collapse': function () { $('#learnmore').hide (); }, 'hidden.bs.collapse': function () { $('#learnmore').show (); }}); + + /* enable popovers */ + $('[data-toggle="popover"]').popover({template: '<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><textarea readonly rows="5" class="popover-body"></textarea></div>'}); }); |