mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
remove useless variable
This commit is contained in:
parent
f1801f9662
commit
e7540de85d
@ -54,7 +54,7 @@
|
|||||||
var name = file.name.toLowerCase();
|
var name = file.name.toLowerCase();
|
||||||
|
|
||||||
if (name.match(/\.(apng|avif|gif|jpeg|png|svg|webp)$/)) {
|
if (name.match(/\.(apng|avif|gif|jpeg|png|svg|webp)$/)) {
|
||||||
var image = file2base64Image(file, function (image) {
|
file2base64Image(file, function (image) {
|
||||||
var session = currentEditor.getSession();
|
var session = currentEditor.getSession();
|
||||||
var img = `<img src="${image}"/>\n`;
|
var img = `<img src="${image}"/>\n`;
|
||||||
var pos = session.getCursorPosition();
|
var pos = session.getCursorPosition();
|
||||||
|
Loading…
Reference in New Issue
Block a user