File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/Server/Coderr.Server.Web/Scripts/dashboard Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 11toggleMenuItem = function ( uri ) {
2- if ( window . location . pathname === window . WEB_ROOT && window . location . hash === '' )
2+
3+ var webRoot = window . WEB_ROOT . toLocaleLowerCase ( ) ;
4+
5+ if ( window . location . pathname . toLocaleLowerCase ( ) === webRoot && window . location . hash === '' )
36 uri = window . WEB_ROOT + '#/' ;
47 var $a ;
58 if ( typeof uri === 'string' ) {
69
710 // we do not include root in links since
811 // we can exist in a virtual folder, which means
912 // that we would have had to parse links on all regular HTML pages.
10- var webRoot = window [ 'WEB_ROOT' ] ;
13+ uri = uri . toLocaleLowerCase ( ) ;
1114 if ( uri . indexOf ( webRoot ) === 0 ) {
1215 uri = uri . substr ( webRoot . length ) ;
1316 }
You can’t perform that action at this time.
0 commit comments