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 = '';
@@ -314,4 +314,4 @@
editor.fire('unlockSnapshot');
}
});
-}(window.jQuery));
\ No newline at end of file
+}(window.jQuery));