diff options
Diffstat (limited to 'src/jqLite.js')
| -rw-r--r-- | src/jqLite.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jqLite.js b/src/jqLite.js index 449854d5..3baafd51 100644 --- a/src/jqLite.js +++ b/src/jqLite.js @@ -136,7 +136,7 @@ JQLite.prototype = { addClass: function( selector ) { if (!this.hasClass(selector)) { - this[0].className += ' ' + selector; + this[0].className = trim(this[0].className + ' ' + selector); } }, |
