Removes outdated workaround in `userMenuSidebar.tpl`
authorFabii547 <Fabii547@users.noreply.github.com>
Thu, 20 Feb 2020 09:36:38 +0000 (10:36 +0100)
committerFabii547 <Fabii547@users.noreply.github.com>
Thu, 20 Feb 2020 09:36:38 +0000 (10:36 +0100)
com.woltlab.wcf/templates/userMenuSidebar.tpl

index a94cd4e9bc702defc42aa9b6c6f4d6f56665ab13..7c7f50640f01623d07923dfa3116380a2c009986 100644 (file)
@@ -1,15 +1,6 @@
 {capture assign='sidebarLeft'}
        {assign var=__userMenuActiveItems value=$__wcf->getUserMenu()->getActiveMenuItems()}
        
-       <script data-relocate="true">
-               $(function() {
-                       // mobile safari hover workaround
-                       if ($(window).width() <= 800) {
-                               $('.sidebar').addClass('mobileSidebar').hover(function() { });
-                       }
-               });
-       </script>
-       
        <section class="box" data-static-box-identifier="com.woltlab.wcf.UserMenu">
                {foreach from=$__wcf->getUserMenu()->getMenuItems('') item=menuCategory}
                        <h2 class="boxTitle">{$menuCategory->getTitle()}</h2>