mirror of
https://github.com/BreizhHardware/Start-page-perso.git
synced 2026-03-18 21:30:36 +01:00
Fix search don't open in a new page
This commit is contained in:
@@ -361,14 +361,8 @@ function closeSugBox(src)
|
|||||||
function applySugResult()
|
function applySugResult()
|
||||||
{
|
{
|
||||||
if ($("#sugs .active").length > 0) {
|
if ($("#sugs .active").length > 0) {
|
||||||
$("#i").val($("#sugs .active a").html());
|
var url = $("#sugs .active a").attr("href");
|
||||||
|
window.open(url, '_blank');
|
||||||
closeSugBox(false);
|
closeSugBox(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user