mirror of
https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue.git
synced 2024-11-27 17:50:55 +00:00
Minor fix to mirror gerrit changes
This commit is contained in:
parent
9c23e9cd34
commit
a499360d0d
|
@ -42,8 +42,8 @@
|
|||
nav.on( 'click', 'a', function ( e ) {
|
||||
var title = $( this ).attr( 'title' );
|
||||
e.preventDefault();
|
||||
if (history.pushState) {
|
||||
history.pushState(null, null, '#' + title);
|
||||
if ( history.pushState ) {
|
||||
history.pushState( null, null, '#' + title );
|
||||
} else {
|
||||
location.hash = '#' + title;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue