From 29fc727771e8896020c4061c186774cdaa746fc4 Mon Sep 17 00:00:00 2001 From: khaydarov Date: Thu, 26 Jan 2017 04:15:16 +0300 Subject: [PATCH] code improved --- plugins/quote/quote.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/quote/quote.js b/plugins/quote/quote.js index 0408771e..53549451 100644 --- a/plugins/quote/quote.js +++ b/plugins/quote/quote.js @@ -347,7 +347,7 @@ var quote = (function(quote) { var parsed = JSON.parse(result), filename = parsed.filename, uploadImageWrapper = codex.content.currentNode.querySelector('.' + elementClasses_.withPhoto.photo), - authorsPhoto = quoteTools.ui.img(elementClasses_.authorsPhoto); + authorsPhoto = ui_.img(elementClasses_.authorsPhoto); authorsPhoto.src = parsed.data.file.url; @@ -387,13 +387,13 @@ var quote = (function(quote) { switch (data.style) { case 'simple': - tag = quoteTools.makeSimpleQuote(data); + tag = methods_.makeSimpleQuote(data); break; case 'withCaption': - tag = quoteTools.makeQuoteWithCaption(data); + tag = methods_.makeQuoteWithCaption(data); break; case 'withPhoto': - tag = quoteTools.makeQuoteWithPhoto(data); + tag = methods_.makeQuoteWithPhoto(data); break; }