pianello-api/resources/js/components/top-bar/index.js

16 lines
359 B
JavaScript
Raw Permalink Normal View History

(function () {
"use strict";
$(".search")
.find("input")
.each(function () {
$(this).on("focus", function () {
$(".search-result").addClass("show");
});
$(this).on("focusout", function () {
$(".search-result").removeClass("show");
});
});
})();