X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=resources%2Fsrc%2Fmediawiki.action%2Fmediawiki.action.view.redirect.js;h=4e733546378fca26a3e76027dc3a72f96a8f9a05;hb=1d4bdfeb61227b5f8d619d3a94054407f5e03536;hp=29a5a79f9bdd0595420aae0e15eb1d89b36b9ec4;hpb=8b2139e1a773ab4be16a58c8cf2edb1c86b4b798;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/src/mediawiki.action/mediawiki.action.view.redirect.js b/resources/src/mediawiki.action/mediawiki.action.view.redirect.js index 29a5a79f9b..4e73354637 100644 --- a/resources/src/mediawiki.action/mediawiki.action.view.redirect.js +++ b/resources/src/mediawiki.action/mediawiki.action.view.redirect.js @@ -28,10 +28,10 @@ } // Note that this will update the hash in a modern browser, retaining back behaviour - history.replaceState( /*data=*/ history.state, /*title=*/ document.title, /*url=*/ canonical ); + history.replaceState( /* data= */ history.state, /* title= */ document.title, /* url= */ canonical ); if ( shouldChangeFragment ) { // Specification for history.replaceState() doesn't require browser to scroll, - // so scroll to be sure (see also T110501). Support for IE9 and IE10. + // so scroll to be sure (see also T110501). Support for IE10. node = document.getElementById( fragment.slice( 1 ) ); if ( node ) { node.scrollIntoView();