1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-20 13:31:55 +02:00

don't trim aria status

This commit is contained in:
Hakim El Hattab
2014-06-09 11:36:28 +02:00
parent 943b6ef37e
commit 0a58df8390

View File

@@ -2966,7 +2966,7 @@
element.classList.remove( 'current-fragment' );
// Announce the fragments one by one to the Screen Reader
dom.statusDiv.innerHTML = element.textContent.trim();
dom.statusDiv.innerHTML = element.textContent;
if( i === index ) {
element.classList.add( 'current-fragment' );