Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

Commit

Permalink
Merge pull request #8 from PDOK/fix-eval-callback
Browse files Browse the repository at this point in the history
fix eval callback that is not allowed due to norea report
  • Loading branch information
botenvouwer authored Jun 1, 2021
2 parents 1b202ce + 5e1dbe3 commit bb49b4a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions api/js/pdok-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,12 @@ OpenLayers.Lang.setCode('nl');
Proj4js.defs["EPSG:28992"] = "+proj=sterea +lat_0=52.15616055555555 +lon_0=5.38763888888889 +k=0.9999079 +x_0=155000 +y_0=463000 +ellps=bessel +towgs84=565.040,49.910,465.840,-0.40939,0.35971,-1.86849,4.0772";

Pdok.ready = (function (f){
if (/in/.test(document.readyState)) {
setTimeout('Pdok.ready('+f+')',9);
if(/in/.test(document.readyState)){
setTimeout(function() {
Pdok.ready(f);
}, 9);
}
else {
else{
f()
}
});
Expand Down

0 comments on commit bb49b4a

Please sign in to comment.