From 02f4dce7c68155225533c29a7b38a8dfb0fb696f Mon Sep 17 00:00:00 2001 From: khaydarov Date: Thu, 26 Jan 2017 15:56:37 +0300 Subject: [PATCH] upgraded --- plugins/image/image.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/plugins/image/image.js b/plugins/image/image.js index 729bac47..925bfd15 100644 --- a/plugins/image/image.js +++ b/plugins/image/image.js @@ -247,18 +247,10 @@ var image = (function(image) { return; } - if (current.classList.contains(codex.ui.className.BLOCK_IN_FEED_MODE)) { - inFeed = true; - } - /** Clear classList */ current.className = ''; image.className = ''; - if (inFeed) { - current.classList.add(codex.ui.className.BLOCK_IN_FEED_MODE); - } - /** Add important first-level class ce_block */ current.classList.add(codex.ui.className.BLOCK_CLASSNAME); @@ -472,7 +464,7 @@ var image = (function(image) { */ image.path = null; - /** + /** * Plugin configuration */ image.config = null;