mirror of
https://github.com/Noratrieb/slides.git
synced 2026-01-16 09:25:06 +01:00
fix polyfills, add ie11 support
This commit is contained in:
parent
b074050a6d
commit
e6244a57b5
17 changed files with 129 additions and 142 deletions
|
|
@ -1489,7 +1489,10 @@ export default function( revealElement, options ) {
|
|||
|
||||
let reverse = config.rtl && !isVerticalSlide( element );
|
||||
|
||||
element.classList.remove( 'past', 'present', 'future' );
|
||||
// Avoid .remove() with multiple args for IE11 support
|
||||
element.classList.remove( 'past' );
|
||||
element.classList.remove( 'present' );
|
||||
element.classList.remove( 'future' );
|
||||
|
||||
// http://www.w3.org/html/wg/drafts/html/master/editing.html#the-hidden-attribute
|
||||
element.setAttribute( 'hidden', '' );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue