diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2017-11-02 11:58:32 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2017-11-02 11:58:32 +0100 |
commit | 7fb8756787ae8aaeba4fa0d1b2eeb703516d8c23 (patch) | |
tree | cc80292cfc594c5a8c93e3b0b0687c6d8653c24f /data | |
parent | 21efd806a720ed959177f27c3094e5eecc698aac (diff) | |
download | comatose-7fb8756787ae8aaeba4fa0d1b2eeb703516d8c23.tar.gz comatose-7fb8756787ae8aaeba4fa0d1b2eeb703516d8c23.tar.bz2 comatose-7fb8756787ae8aaeba4fa0d1b2eeb703516d8c23.zip |
Add copy&pasteable BibTeX entries to HTML
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>'}); }); |