From c09592dde15e1024cad665ab2faaba6252f96c72 Mon Sep 17 00:00:00 2001 From: Martin Monperrus Date: Sun, 15 Dec 2019 17:42:08 +0100 Subject: [PATCH] up --- bibtexbrowser.php | 8 ++------ reference-output-wp-publications.txt | 8 +------- 2 files changed, 3 insertions(+), 13 deletions(-) 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, )