Prevent [TAB] focusing the quote header in Firefox
authorAlexander Ebert <ebert@woltlab.com>
Thu, 26 Feb 2015 09:35:41 +0000 (10:35 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 26 Feb 2015 09:35:41 +0000 (10:35 +0100)
wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js

index 959a85eab8e5411564e4f9762543e2a5855b617c..035d130cf3b6d2a6868add771873aa2afab6f56c 100644 (file)
@@ -1940,7 +1940,7 @@ RedactorPlugins.wbbcode = function() {
                        }
                        
                        if (author) {
-                               if (link) $header += '<a href="' + link + '">';
+                               if (link) $header += '<a href="' + link + '" tabindex="-1">';
                                
                                $header += WCF.Language.get('wcf.bbcode.quote.title.javascript', { quoteAuthor: WCF.String.unescapeHTML(author) });