From d55c06d65056ff845de7d822b88892a0ac8cdb82 Mon Sep 17 00:00:00 2001 From: khaydarov Date: Sat, 28 Jan 2017 16:33:09 +0300 Subject: [PATCH] fixed bug with onload callback (#129) onload callback sends context --- plugins/quote/quote.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/quote/quote.js b/plugins/quote/quote.js index affdf04f..0bbf87a8 100644 --- a/plugins/quote/quote.js +++ b/plugins/quote/quote.js @@ -362,7 +362,7 @@ var quote = (function(quote) { fileReader.readAsDataURL(file); - fileReader.onload = photoUploadingCallbacks_.preview_(e); + fileReader.onload = photoUploadingCallbacks_.preview_; },