Skip to content
Permalink
Browse files

Fix error of initial wms config not prefilling

  • Loading branch information...
raitisbe committed Jun 25, 2019
1 parent 0487e9d commit 42b9f03dede61adfd67ba1c2d87d45f5b1f34880
Showing with 1 addition and 1 deletion.
  1. +1 −1 components/ows/ows_wms.js
@@ -15,7 +15,7 @@ import {Attribution} from 'ol/control.js';
* @returns {String} Either one of prefered formats or first first avaiable format
*/
var getPreferedFormat = function (formats, preferedFormats) {
for (i = 0; i < preferedFormats.length; i++) {
for (var i = 0; i < preferedFormats.length; i++) {
if (formats.indexOf(preferedFormats[i]) > -1) {
return (preferedFormats[i]);
}

0 comments on commit 42b9f03

Please sign in to comment.
You can’t perform that action at this time.