8000 click on any fab action should hide all actions · maximkou/laravel-filemanager@9799438 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9799438

Browse files
committed
click on any fab action should hide all actions
1 parent 5f41668 commit 9799438

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

public/js/script.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ $.fn.fab = function (options) {
2424
.attr('data-label', button.label)
2525
.attr('id', button.attrs.id)
2626
.append($('<i>').addClass(button.icon))
27+
.click(function () {
28+
menu.removeClass('fab-expand');
29+
})
2730
);
2831
});
2932
};

0 commit comments

Comments
 (0)
0