From 363cbb0ea0acf35a5bf56fcef6b3d60acc4f5fe7 Mon Sep 17 00:00:00 2001 From: Dave Arter Date: Thu, 16 Jan 2020 15:51:44 +0000 Subject: Display inline map for duplicate suggestions on mobile For #2668. --- web/js/duplicates.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'web/js/duplicates.js') diff --git a/web/js/duplicates.js b/web/js/duplicates.js index ede22dc18..22f800694 100644 --- a/web/js/duplicates.js +++ b/web/js/duplicates.js @@ -42,6 +42,10 @@ url_params.pin_size = 'normal'; } + if ($('html').hasClass('mobile')) { + url_params.inline_maps = 1; + } + if (category && params && params.check_duplicates_dismissal ) { dismissed = category === dismissed_category; dismissed_category = category; -- cgit v1.2.3