aboutsummaryrefslogtreecommitdiffhomepage
path: root/js/reveal.js
diff options
context:
space:
mode:
authorNawaz2014-04-07 10:49:07 +0530
committerNawaz2014-04-07 10:49:07 +0530
commite70d07b45da3a60d9f79bb65af3ded3d6d79f81f (patch)
treedba0dc79eb2d4f437c67721c740192554c315f79 /js/reveal.js
parent20a725222bf538fa21561d78b89031063ba83647 (diff)
Change innerHTML to textContent to avoid video replays inside status Div, for not text content is enough
Diffstat (limited to 'js/reveal.js')
-rw-r--r--js/reveal.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/reveal.js b/js/reveal.js
index a923efd..9ee81e4 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -1771,7 +1771,7 @@ var Reveal = (function(){
slides[index].classList.add( 'present' );
slides[index].removeAttribute( 'hidden' );
slides[index].removeAttribute( 'aria-hidden' );
- dom.statusDiv.innerHTML = slides[index].innerHTML;
+ dom.statusDiv.innerHTML = slides[index].textContent;
// If this slide has a state associated with it, add it
// onto the current state of the deck
@@ -2424,7 +2424,7 @@ var Reveal = (function(){
element.classList.add( 'visible' );
element.classList.remove( 'current-fragment' );
//Announce the fragments one by one to the Screen Reader
- dom.statusDiv.innerHTML = element.innerHTML;
+ dom.statusDiv.innerHTML = element.textContent;
if( i === index ) {
element.classList.add( 'current-fragment' );