From 571b19625cdc04dd9f46c9ddf5fa5ed0ff5d0bae Mon Sep 17 00:00:00 2001 From: Simon Georget Date: Mon, 5 Oct 2015 17:44:24 +0200 Subject: [PATCH] fix test on footnotesHeaderEls --- footnotes/plugin.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/footnotes/plugin.js b/footnotes/plugin.js index 69a948d..e6ee2d0 100644 --- a/footnotes/plugin.js +++ b/footnotes/plugin.js @@ -192,8 +192,8 @@ if ($footnotes.length == 0) { var header_title = editor.config.footnotesTitle ? editor.config.footnotesTitle : 'Footnotes'; - var header_els = ['

', '

'];//editor.config.footnotesPrefix - if (editor.config.footnotesTitle) { + var header_els = ['

', '

'];//editor.config.editor.config.footnotesHeaderEls + if (editor.config.footnotesHeaderEls) { header_els = editor.config.footnotesHeaderEls; } var container = '
' + header_els[0] + header_title + header_els[1] + '
    ' + footnote + '
'; @@ -314,4 +314,4 @@ editor.fire('unlockSnapshot'); } }); -}(window.jQuery)); \ No newline at end of file +}(window.jQuery));