From f97685cc15ca30393e10056a14ccf1c96b551941 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 18 Jul 2018 15:12:07 +0200 Subject: [PATCH] lint compliance --- www/common/outer/userObject.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/common/outer/userObject.js b/www/common/outer/userObject.js index 6477170ee..f933b1153 100644 --- a/www/common/outer/userObject.js +++ b/www/common/outer/userObject.js @@ -563,6 +563,7 @@ define([ continue; } // Clean missing href + var parsed; if (el.href) { if (!el.href) { debug("Removing an element in filesData with a missing href.", el); @@ -570,7 +571,7 @@ define([ continue; } - var parsed = Hash.parsePadUrl(el.href); + parsed = Hash.parsePadUrl(el.href); // Clean invalid hash if (!parsed.hash) { debug("Removing an element in filesData with a invalid href.", el);