phpmyadmin/js
Maximilian Krög 5dad1d0bb7
Fix: Don't add multiple OpenLayers maps, remove listeners on dispose
With 5.1 the map is only created when it is first shown, but every second time
switching to the map a new instance is created because zero is returned when no new
map was created.

OpenLayers adds a resize listener to the window when a target is defined to
handle size adjustments, but this means setTarget(null) has to be called to
fully dispose of the added listener when the map is no longer needed.

Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
2021-08-10 18:59:49 +02:00
..
config/ol Create custom OpenLayers build when syncing js vendor files 2021-06-13 02:07:00 +02:00
dist Add Babel JavaScript compiler 2020-09-04 14:10:56 -03:00
src Fix: Don't add multiple OpenLayers maps, remove listeners on dispose 2021-08-10 18:59:49 +02:00
vendor Update JavaScript dependencies 2021-06-18 12:21:08 -03:00
messages.php Remove TESTSUITE constant from js/messages.php 2020-07-06 16:56:19 -03:00