/**
* plugin.js
*
- * Copyright, Moxiecode Systems AB
* Released under LGPL License.
+ * Copyright (c) 1999-2015 Ephox Corp. All rights reserved
*
* License: http://www.tinymce.com/license
* Contributing: http://www.tinymce.com/contributing
}
img.onload = function() {
- done(img.clientWidth, img.clientHeight);
+ done(Math.max(img.width, img.clientWidth), Math.max(img.height, img.clientHeight));
};
img.onerror = function() {
win.find('#src').value(e.control.value()).fire('change');
},
onPostRender: function() {
+ /*eslint consistent-this: 0*/
imageListCtrl = this;
}
};