- Update (Imagelib): Remove extra (and more outdated) jQuery copy
- Refactoring (minor): Reuse local variable - Docs: Contributing re: updates
This commit is contained in:
2
dist/extensions/imagelib/index.js
vendored
2
dist/extensions/imagelib/index.js
vendored
@@ -35,7 +35,7 @@
|
||||
name: $(this).text(),
|
||||
id: href
|
||||
});
|
||||
if (!this.href.includes('.svg')) {
|
||||
if (!href.includes('.svg')) {
|
||||
var img = new Image();
|
||||
img.onload = function () {
|
||||
var canvas = document.createElement('canvas');
|
||||
|
||||
Reference in New Issue
Block a user