Skip to content

Commit

Permalink
popup: Fix class helper typo issue (ref #1893)
Browse files Browse the repository at this point in the history
  • Loading branch information
airyland committed Aug 30, 2017
1 parent 0f01048 commit 980c812
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/components/popup/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ slots:
en: content body
zh-CN: 弹窗主体内容
changes:
next:
en:
- '[fix] Fix class helper typo issue #1893'
zh-CN:
- '[fix] 修复 class 工具函数拼写错误 #1893'
v2.5.9:
en:
- '[fix] Fix layout errors when body not set 100% width #1867'
Expand Down
2 changes: 1 addition & 1 deletion src/libs/dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
if (el.classList) {
el.classList.add(token)
} else if (!this.hasClass(el, token)) {
el.classNae += '' + token
el.className += '' + token
}
},
removeClass (el, token) {
Expand Down

0 comments on commit 980c812

Please sign in to comment.