forked from CGM_Public/pretix_original
Allow clicking on typeahead results
This commit is contained in:
@@ -37,7 +37,14 @@ $(function () {
|
|||||||
$("<span>").addClass("fa fa-calendar fa-fw")
|
$("<span>").addClass("fa fa-calendar fa-fw")
|
||||||
).append(" ").append(res.date_range)
|
).append(" ").append(res.date_range)
|
||||||
)
|
)
|
||||||
)
|
).on("mousedown", function (event) {
|
||||||
|
if ($(this).length) {
|
||||||
|
location.href = $(this).attr("href");
|
||||||
|
}
|
||||||
|
$(this).parent().addClass("active");
|
||||||
|
event.preventDefault();
|
||||||
|
event.stopPropagation();
|
||||||
|
})
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -161,6 +161,9 @@
|
|||||||
.event-dropdown .event-name-full, .mobile-event-dropdown .event-name-full {
|
.event-dropdown .event-name-full, .mobile-event-dropdown .event-name-full {
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
}
|
}
|
||||||
|
a {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: $screen-sm-max) {
|
@media (max-width: $screen-sm-max) {
|
||||||
|
|||||||
Reference in New Issue
Block a user