X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ae60b2a3949e96357477cc04f90fd0873cee8a92..527055abe52213eebc02175dd192841966735e18:/src/wolnelektury/static/js/base.js diff --git a/src/wolnelektury/static/js/base.js b/src/wolnelektury/static/js/base.js index 52834687b..eee31f914 100644 --- a/src/wolnelektury/static/js/base.js +++ b/src/wolnelektury/static/js/base.js @@ -22,9 +22,9 @@ if (button && short_text) button.html(short_text); } return false; - } + }; return toggle; - } + }; if (long_el.html().length <= short_el.html().length) return; @@ -209,15 +209,15 @@ $('#themes-list-toggle').click(function(event) { onFormat: function (type) { switch (type) { case 'block': // n and c - return ' ' + this.value + ' '; + return '
  • ' + this.value + '
  • '; case 'next': // > - return ' > '; + return '
  • '; case 'prev': // < - return ' < '; + return '
  • '; case 'first': // [ - return '« '; + return '
  • «
  • '; case 'last': // ] - return ' »'; + return '
  • »
  • '; } } });