1
0
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:
Hiroyasu Nishiyama 2023-01-25 16:40:12 +09:00
parent f1801f9662
commit e7540de85d

View File

@ -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();