From 89230bd7308f23f0ddeaa8927794eb269b98cf51 Mon Sep 17 00:00:00 2001 From: Oleksii Kriuchykhin Date: Fri, 22 Dec 2017 18:27:20 +0100 Subject: [PATCH] Fix about modal [SCI-1875] --- app/assets/javascripts/sitewide/about_modal.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/sitewide/about_modal.js b/app/assets/javascripts/sitewide/about_modal.js index ca558059a..50255b043 100644 --- a/app/assets/javascripts/sitewide/about_modal.js +++ b/app/assets/javascripts/sitewide/about_modal.js @@ -2,8 +2,9 @@ 'use strict'; $(document).ready(function() { - $("[data-trigger='about-modal']").on('click', function() { + $("[data-trigger='about-modal']").on('click', function(ev) { $('[data-role=about-modal]').modal('show'); + ev.preventDefault(); }); }); })();