This repository was archived by the owner on Mar 30, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ This file should follow the standards specified on [keepachangelog.com](http://k
44This project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
55
66## [ unreleased]
7+ ### Fixed
8+ * Hotfixed navigation bar issue causing crashes ([ #604 ] ( https://github.com/radiant-player/radiant-player-mac/pull/604 ) )
79
810## [ 1.10.2] - 2016-08-19
911### Fixed
Original file line number Diff line number Diff line change @@ -67,6 +67,11 @@ if (typeof window.GMNavigation === 'undefined') {
6767 buttonsContainer . parentNode . insertBefore ( paddingElement , buttonsContainer ) ;
6868
6969 // Adjust the drawer navigation scrolling mode to accomodate the traffic light buttons.
70- var el = document . querySelector ( '#drawer #nav-container' ) ;
71- if ( el ) el . setAttribute ( 'mode' , '' ) ;
70+ var navContainer = document . querySelector ( '#drawer #nav-container' ) ;
71+ if ( navContainer ) {
72+ navContainer . removeAttribute ( 'mode' ) ;
73+ var mode = document . createAttribute ( 'mode' ) ;
74+ mode . value = '' ;
75+ navContainer . setAttributeNode ( mode ) ;
76+ }
7277}
You can’t perform that action at this time.
0 commit comments