Commit 5f9d585e by fengshuonan

调整自定义js

parent e98b9345
...@@ -55,7 +55,9 @@ $(function () { ...@@ -55,7 +55,9 @@ $(function () {
}); });
// topbar stickey on scroll // topbar stickey on scroll
$(".fix-header .topbar").stick_in_parent({}); $(".fix-header .topbar").stick_in_parent({
});
// this is for close icon when navigation open in mobile view // this is for close icon when navigation open in mobile view
...@@ -177,7 +179,7 @@ $(function () { ...@@ -177,7 +179,7 @@ $(function () {
// ============================================================== // ==============================================================
// Collapsable cards // Collapsable cards
// ============================================================== // ==============================================================
$(document).on("click", ".card-actions a", function (e) { $(document).on("click", ".card-actions a", function(e) {
if (e.preventDefault(), $(this).hasClass("btn-close")) $(this).parent().parent().parent().fadeOut(); if (e.preventDefault(), $(this).hasClass("btn-close")) $(this).parent().parent().parent().fadeOut();
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment