1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-10-10 02:54:25 +02:00

add check when acss is tried to open in codepen and add missing lib :P. fixes #100

This commit is contained in:
Kushagra Gour
2017-04-30 20:45:02 +05:30
parent 35feba9692
commit 5644b0c9c0
4 changed files with 19003 additions and 2 deletions

View File

@@ -11,7 +11,7 @@
}
}
function init() {
var dropdowns = [].slice.call($all('[dropdown]'));
var dropdowns = $all('[dropdown]');
dropdowns.forEach(function (dropdown) {
dropdown.addEventListener('click', function (e) {
closeOpenDropdown(e.currentTarget);