Skip to content

Commit

Permalink
fixed minor linter warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
smesdaghi committed Aug 28, 2015
1 parent 1e7d39e commit dc3c62d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/addlayers/ServerService.js
Original file line number Diff line number Diff line change
Expand Up @@ -538,8 +538,8 @@ var SERVER_SERVICE_USE_PROXY = true;
url = server.virtualServiceUrl;
}

var iqm = url.indexOf('?')
var url_getcaps = url + (iqm >= 0 ? (iqm-1 == url.length ? '' : '&') : '?') + 'SERVICE=WMS&REQUEST=GetCapabilities';
var iqm = url.indexOf('?');
var url_getcaps = url + (iqm >= 0 ? (iqm - 1 == url.length ? '' : '&') : '?') + 'SERVICE=WMS&REQUEST=GetCapabilities';

server.populatingLayersConfig = true;
var config = {};
Expand Down

0 comments on commit dc3c62d

Please sign in to comment.