User our own jQuery

This commit is contained in:
2016-08-30 14:09:56 +02:00
parent b9b993fe4a
commit 8d6df947c8
7 changed files with 11 additions and 7 deletions

View File

@@ -104,7 +104,7 @@ script.
if (preview_img) {
preview_img.load(function() {
preview_img.on('load', function() {
var preview = thumbnail.find('.list-node-children-item-preview');

View File

@@ -135,7 +135,7 @@ script.
if (preview_img) {
preview_img.load(function() {
preview_img.on('load', function() {
var preview = thumbnail.find('.list-node-children-item-preview');

View File

@@ -135,7 +135,7 @@ script.
/* Make dummy img in memory otherwise we have css issues */
$("<img/>")
.attr('src', src_xl)
.load(function(){
.on('load', function(){
src_xl_width = this.width;
src_xl_height = this.height;
});