From 26499816c1a5b1bc3d28b193e65d48b7a56cae29 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Tue, 10 May 2022 08:12:04 +1000 Subject: [PATCH] javascript lint --- InvenTree/templates/js/translated/plugin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/InvenTree/templates/js/translated/plugin.js b/InvenTree/templates/js/translated/plugin.js index 87415b74dc..62555c8ff4 100644 --- a/InvenTree/templates/js/translated/plugin.js +++ b/InvenTree/templates/js/translated/plugin.js @@ -30,7 +30,7 @@ function installPlugin() { function locateItemOrLocation(options={}) { if (!options.item && !options.location) { - console.error("locateItemOrLocation: Either 'item' or 'location' must be provided!"); + console.error(`locateItemOrLocation: Either 'item' or 'location' must be provided!`); return; } @@ -58,7 +58,7 @@ function locateItemOrLocation(options={}) { success: function(plugins) { // No 'locate' plugins are available! if (plugins.length == 0) { - console.warn("No 'locate' plugins are available"); + console.warn(`No 'locate' plugins are available`); } else if (plugins.length == 1) { // Only a single locate plugin is available performLocate(plugins[0].key);