aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-tilma.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/js/map-tilma.js')
-rw-r--r--web/js/map-tilma.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/js/map-tilma.js b/web/js/map-tilma.js
index 1ae38cff1..1b8cc6450 100644
--- a/web/js/map-tilma.js
+++ b/web/js/map-tilma.js
@@ -135,7 +135,7 @@ function update_tiles(dx, dy, force) {
}
function load_pins(x, y) {
- if (document.getElementById('formX')) {
+ if (document.getElementById('formX') && !document.getElementById('problem_submit')) {
all_pins = '';
if (document.getElementById('all_pins')) {
all_pins = document.getElementById('all_pins').value;