From 8ba50099492accca00bfd7014fc6bed83e1bf015 Mon Sep 17 00:00:00 2001 From: Nelson Tavares de Sousa <stu103017@mail.uni-kiel.de> Date: Mon, 21 Sep 2015 16:12:31 +0200 Subject: [PATCH] last fix didn't work... trying new fix --- src/site/resources/css/site.css | 6 +++++- src/site/site.xml | 16 ---------------- 2 files changed, 5 insertions(+), 17 deletions(-) diff --git a/src/site/resources/css/site.css b/src/site/resources/css/site.css index d51bc425..ecd4995c 100644 --- a/src/site/resources/css/site.css +++ b/src/site/resources/css/site.css @@ -11,4 +11,8 @@ body { .slogan { color: #7E7E7E; margin-top: 0.5em; -} \ No newline at end of file +} + +.dropdown-backdrop{ +position: static; +} diff --git a/src/site/site.xml b/src/site/site.xml index 9427ccd7..224abcbc 100644 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -151,22 +151,6 @@ <tocTopMax>4</tocTopMax> </wiki-home> </pages> - <endContent> - <script> - !function ($) { - $(function(){ - // Fix for dropdowns on mobile devices - $('body').on('touchstart.dropdown', '.dropdown-menu', function (e) - { - e.stopPropagation(); - }); - $(document).on('click','.dropdown-menu a',function(){ - document.location = $(this).attr('href'); - }); - }) - }(window.jQuery) - </script> - </endContent> </reflowSkin> </custom> </project> -- GitLab