diff --git a/plugins/CoreHome/javascripts/corehome.js b/plugins/CoreHome/javascripts/corehome.js index 41692c8ae3fbff47759d140079d7aee0e5e59bdb..fd8c1632a7248df39af59f3c424d1e9f5a1bab26 100755 --- a/plugins/CoreHome/javascripts/corehome.js +++ b/plugins/CoreHome/javascripts/corehome.js @@ -193,12 +193,4 @@ $( document ).ready(function() { $(window).scrollTo($('a[name="main"]')); }); - // Only use the "outline" CSS property on focus, when the keyboard is being used (do not show the outline when clicking with the mouse) - $("body").on("mousedown", "*", function(e) { - if (($(this).is(":focus") || $(this).is(e.target)) && $(this).css("outline-style") == "none") { - $(this).css("outline", "none").on("blur", function() { - $(this).off("blur").css("outline", ""); - }); - } - }); }); \ No newline at end of file diff --git a/plugins/CoreHome/stylesheets/layout.less b/plugins/CoreHome/stylesheets/layout.less index 8fa1e9e7e183fd72a0c34f03cc24e66e9f24cdea..5776c1a97e1c383d1d123025f216c6aef057a3e4 100644 --- a/plugins/CoreHome/stylesheets/layout.less +++ b/plugins/CoreHome/stylesheets/layout.less @@ -1,8 +1,3 @@ - body { - :focus { - outline:@theme-color-background-highContrast solid 2px; - } - } #header { padding: 0 15px;