From ab35d6b778c1e48a2b35596db1bba9b616cdee8c Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 13 Nov 2018 17:22:34 +0100 Subject: [PATCH] lint compliance --- www/bounce/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/bounce/main.js b/www/bounce/main.js index 6d631089f..ddb23d983 100644 --- a/www/bounce/main.js +++ b/www/bounce/main.js @@ -9,8 +9,8 @@ define(['/api/config'], function (ApiConfig) { window.alert('The bounce application must only be used with a valid href to visit'); return; } - if (bounceTo.indexOf('javascript:') === 0 || - bounceTo.indexOf('vbscript:') === 0 || + if (bounceTo.indexOf('javascript:') === 0 || // jshint ignore:line + bounceTo.indexOf('vbscript:') === 0 || // jshint ignore:line bounceTo.indexOf('data:') === 0) { window.alert('Illegal bounce URL'); return;