From bd6ec094582090442f983e29a4b8f3e8d9952130 Mon Sep 17 00:00:00 2001 From: Jirka Date: Thu, 13 Jan 2022 10:05:37 +0100 Subject: [PATCH] Remove warning because `loadTilesWithAjax` flag is not passed to the TileSource --- src/tilesource.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/tilesource.js b/src/tilesource.js index daaacc23..c6517fda 100644 --- a/src/tilesource.js +++ b/src/tilesource.js @@ -450,10 +450,6 @@ $.TileSource.prototype = { var postData = null; if (this.splitHashDataForPost) { - if (!this.loadTilesWithAjax) { - console.warn("Ajax is not enabled, but post data are used. Post data is ignored " + - "without ajax in subsequent tile requests."); - } var hashIdx = url.indexOf("#"); if (hashIdx !== -1) { postData = url.substring(hashIdx + 1);