pianello-api/resources/js/components/top-bar/index.js
Ale Gallo 82f958e5da Committing laravel (part 3)
committing js templating files and components
2023-11-10 16:00:59 +01:00

15 lines
359 B
JavaScript

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