yuche / vue-strap

Bootstrap components built with Vue.js
http://yuche.github.io/vue-strap/
MIT License
4.71k stars 935 forks source link

function toggleClass #442

Closed f0rb closed 7 years ago

f0rb commented 7 years ago

I'm wondering why you use 'el.className = list;' instead of 'el.className = list.join(' ');' in function toggleClass, the previous code gives you a comma-separate class, eg. class="modal,fade,in", in Chrome and it leads the modal div displays incorrectly. Hope to fix it ASAP.

wffranco commented 7 years ago

that was a little error. fixed

f0rb commented 7 years ago

Yeah, it works now, many thanks~