浏览代码

don't trim aria status

Hakim El Hattab 10 年之前
父节点
当前提交
0a58df8390
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      js/reveal.js

+ 1 - 1
js/reveal.js

@@ -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' );