[BUG] – Moment deprecation warning – stuck in loading more entries…
-
Hello , thanks for this great plugin , its the only one simple and straight to use plugin for this work!
I’m happy i found it.
Today i installed it in my blog and made some tests, plugin is working as supposed, but after the first live blog entry is done in a post, i tried to refresh the page and the editor stuck in loading more entries.
Console prints a deprecation notice for moment.lang() method and suggests using moment.localeData() instead.
So after that change in file js/liveblog.js and function liveblog.init_moment_js the plugin is working again!
liveblog.init_moment_js = function() { momentLang.relativeTime = _.extend(moment().localeData().relativeTime, momentLang.relativeTime); moment.localeData(momentLang.locale, momentLang); };
Thanks!
- The topic ‘[BUG] – Moment deprecation warning – stuck in loading more entries…’ is closed to new replies.