Browse Source

lint compliance

master
yflory 2 years ago
parent
commit
ab35d6b778
1 changed files with 2 additions and 2 deletions
  1. 4
      www/bounce/main.js

4
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'); window.alert('The bounce application must only be used with a valid href to visit');
return; 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) { bounceTo.indexOf('data:') === 0) {
window.alert('Illegal bounce URL'); window.alert('Illegal bounce URL');
return; return;

Loading…
Cancel
Save