lint compliance

pull/1/head
yflory 2018-11-13 17:22:34 +01:00
parent 3a4cfbb7e8
commit ab35d6b778
1 changed files with 2 additions and 2 deletions

View File

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