From cae93774f5f15fbc9ede2cf9126272270a39dc59 Mon Sep 17 00:00:00 2001 From: Piotr Gawron <piotr.gawron@uni.lu> Date: Mon, 30 Apr 2018 11:20:23 +0200 Subject: [PATCH] untermineated statement terminated --- .../src/main/js/map/canvas/OpenLayers/OpenLayerInfoWindow.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend-js/src/main/js/map/canvas/OpenLayers/OpenLayerInfoWindow.js b/frontend-js/src/main/js/map/canvas/OpenLayers/OpenLayerInfoWindow.js index e45e887324..0e1f6403c1 100644 --- a/frontend-js/src/main/js/map/canvas/OpenLayers/OpenLayerInfoWindow.js +++ b/frontend-js/src/main/js/map/canvas/OpenLayers/OpenLayerInfoWindow.js @@ -14,7 +14,7 @@ function modifyPopover() { $.fn.popover.Constructor.prototype.reposition = function () { var $tip = this.tip(); - var placement = typeof this.options.placement === 'function' ? this.options.placement.call(this, $tip[0], this.$element[0]) : this.options.placement + var placement = typeof this.options.placement === 'function' ? this.options.placement.call(this, $tip[0], this.$element[0]) : this.options.placement; var autoToken = /\s?auto?\s?/i; var autoPlace = autoToken.test(placement); -- GitLab