diff --git a/bibtexbrowser.php b/bibtexbrowser.php index 31181aa..62ac483 100755 --- a/bibtexbrowser.php +++ b/bibtexbrowser.php @@ -4210,7 +4210,7 @@ if (method_exists($content, 'getTitle')) { $content->display(); echo poweredby(); - if (BIBTEXBROWSER_USE_PROGRESSIVE_ENHANCEMENT) { + if (c('BIBTEXBROWSER_USE_PROGRESSIVE_ENHANCEMENT')) { javascript(); } @@ -4235,13 +4235,9 @@ usage: */ function NoWrapper($content) { echo $content->display(); - if (BIBTEXBROWSER_USE_PROGRESSIVE_ENHANCEMENT) { + if (c('BIBTEXBROWSER_USE_PROGRESSIVE_ENHANCEMENT')) { javascript(); } - - if (BIBTEXBROWSER_RENDER_MATH) { - javascript_math(); - } } /** is used to create an subset of a bibtex file. diff --git a/reference-output-wp-publications.txt b/reference-output-wp-publications.txt index 800ebe8..9578121 100644 --- a/reference-output-wp-publications.txt +++ b/reference-output-wp-publications.txt @@ -6,13 +6,7 @@ array ( 2000 [1]An article (), In The Wordpress Journal, . [bibtex] - - -

+

', 'protected' => false, )