mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-11-15 03:33:45 +00:00
Drop IE8 hint
Since IE8 support is dropped, remove hint for incompatibility. Hint for IE9 is kept to keep track of possible issues. Bug: T123218 Change-Id: I0fd066dbc22f603da733dcfa339e5af3ffbde41f
This commit is contained in:
parent
e03f4c3c88
commit
89345e9e8c
|
@ -100,7 +100,7 @@
|
|||
* @param {SliderView} sliderView
|
||||
*/
|
||||
replaceState: function ( revId1, revId2, sliderView ) {
|
||||
// IE8 and IE9 do not have history.pushState()
|
||||
// IE9 does not have history.replaceState()
|
||||
if ( typeof history.replaceState === 'function' ) {
|
||||
history.replaceState(
|
||||
this.getStateObject( revId1, revId2, sliderView ),
|
||||
|
@ -118,7 +118,7 @@
|
|||
* @param {SliderView} sliderView
|
||||
*/
|
||||
pushState: function ( revId1, revId2, sliderView ) {
|
||||
// IE8 and IE9 do not have history.pushState()
|
||||
// IE9 does not have history.pushState()
|
||||
if ( typeof history.pushState === 'function' ) {
|
||||
history.pushState(
|
||||
this.getStateObject( revId1, revId2, sliderView ),
|
||||
|
|
Loading…
Reference in a new issue