From 498eea4b94993b83d367d96020e4e1d63795234f Mon Sep 17 00:00:00 2001 From: Davit Barbakadze Date: Thu, 2 Feb 2017 10:20:27 +0400 Subject: [PATCH] Image: use this instead of variable name were possible --- src/javascript/image/Image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/javascript/image/Image.js b/src/javascript/image/Image.js index e37d6f30..fb58f6aa 100644 --- a/src/javascript/image/Image.js +++ b/src/javascript/image/Image.js @@ -546,7 +546,7 @@ define("moxie/image/Image", [ }); imgCopy.bind("Load", function() { - imgCopy.downsize(opts); + this.downsize(opts); }); // if embedded thumb data is available and dimensions are big enough, use it