Skip to content

Commit f3e93e5

Browse files
author
adunn
committed
ss4upgrade: Added js fix to check for $this
1 parent c4e00dc commit f3e93e5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

javascript/ImageSelect.jquery.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,11 @@
185185
}
186186
});
187187
});
188-
this.trigger('chosen:hiding_dropdown');
188+
189+
if (typeof $this !== 'undefined') {
190+
$this.trigger('chosen:hiding_dropdown');
191+
}
192+
189193
return ret;
190194
}
191195
});

0 commit comments

Comments
 (0)