Skip to content

Commit 701ff7e

Browse files
committed
Internet Explorer dosen't support ES6 [ci skip]
1 parent 806bb40 commit 701ff7e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

user_guide_src/source/_static/js/citheme.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ sanitizeClass = function(value) {
4444
*
4545
* @return {void}
4646
*/
47-
addClass = function(value, prefix = 'ci-') {
47+
addClass = function(value, prefix) {
48+
prefix = prefix || 'ci-';
49+
4850
if(value.length > 0) {
4951
document.body.classList.add(prefix + value);
5052
}

0 commit comments

Comments
 (0)