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