Removed outline for tab menu and fixed sitemap
authorAlexander Ebert <ebert@woltlab.com>
Wed, 19 Dec 2012 15:39:04 +0000 (16:39 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 19 Dec 2012 15:39:04 +0000 (16:39 +0100)
com.woltlab.wcf/template/sitemap.tpl
wcfsetup/install/files/style/layout.less

index e5b145d569e572c5e4672b91cfb3e76e2185a0a6..f9b37f3290c3a753f8f825185ef093e0978a7fe6 100644 (file)
                <script type="text/javascript">
                        //<![CDATA[
                        $(function() {
+                               // fix anchor
+                               var $location = location.toString().replace(location.hash, '');
+                               $('.sitemap .tabMenu a').each(function(index, link) {
+                                       var $link = $(link);
+                                       $link.attr('href', $location + $link.attr('href'));
+                               });
+                               
                                WCF.TabMenu.init();
                        });
                        //]]>
index 83a3f65edfe809605fcdc41fe6714414e891869b..c748e17093f061a9e8187f4833bfb5adc2d4f393 100644 (file)
                
                > li {
                        display: inline-block;
+                       outline: 0;
                        white-space: nowrap;
                        
                        &.ui-state-active {