Skip to content

Commit

Permalink
change comment
Browse files Browse the repository at this point in the history
  • Loading branch information
volterra79 committed Aug 25, 2023
1 parent 9ff4f4f commit 390998e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/g3w-ol/controls/screenshotcontrol.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ function isCrossOrigin(layer) {
return source_url && !sameOrigin(source_url, location);
}

// check if layer has external property to true (Ex. core/layers/map/wmslayer.js instance)
// check if layer has external property to true (Ex. core/layers/imagelayer.js instance)
if (isExternalImageLayer(layer)) {
source_url = layer.getConfig().source.url;
return source_url && !sameOrigin(source_url, location);
Expand Down

0 comments on commit 390998e

Please sign in to comment.