mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 15:57:57 +00:00
scrollbar: remove now unnecessary IE11 workaround
This commit is contained in:
parent
ccb0cc1e5d
commit
301f8812db
1 changed files with 0 additions and 5 deletions
|
@ -314,11 +314,6 @@ function initMenuScrollbar(){
|
||||||
}
|
}
|
||||||
|
|
||||||
var content = '#body-inner';
|
var content = '#body-inner';
|
||||||
if( isIE ){
|
|
||||||
// IE can not display the topbar as sticky; so we let
|
|
||||||
// the whole body scroll instead of just the content
|
|
||||||
content = '#body';
|
|
||||||
}
|
|
||||||
var autofocus = false;
|
var autofocus = false;
|
||||||
document.addEventListener('keydown', function(event){
|
document.addEventListener('keydown', function(event){
|
||||||
// for initial keyboard scrolling support, no element
|
// for initial keyboard scrolling support, no element
|
||||||
|
|
Loading…
Reference in a new issue