mirror of https://gitlab.com/curben/blog
fix(form): avoid opening new window
- https://community.atlassian.com/t5/Jira-Core-Server-questions/How-to-set-permission-of-allow-popups/qaq-p/1674406 - https://teddit.net/r/techsupport/comments/brnb90/what_is_blocked_opening_in_a_new_window_because/
This commit is contained in:
parent
b72ffb1c39
commit
2154d9658d
|
@ -8,7 +8,7 @@
|
||||||
<% }} %>
|
<% }} %>
|
||||||
|
|
||||||
<div class="search-container">
|
<div class="search-container">
|
||||||
<form id="searchForm" method="post" action="https://duckduckgo.com/" target="_blank" rel="noopener external nofollow noreferrer">
|
<form id="searchForm" method="post" action="https://duckduckgo.com/" rel="noopener external nofollow noreferrer">
|
||||||
<input type="text" name="q" class="search-box" placeholder="Search..." title="Powered by DuckDuckGo">
|
<input type="text" name="q" class="search-box" placeholder="Search..." title="Powered by DuckDuckGo">
|
||||||
<input type="hidden" name="sites" value="<%- config.url.replace(/^http(s)?:\/\//, '') %>">
|
<input type="hidden" name="sites" value="<%- config.url.replace(/^http(s)?:\/\//, '') %>">
|
||||||
<input type="hidden" name="kd" value="-1">
|
<input type="hidden" name="kd" value="-1">
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
<input id="mobile-menu-toggle" type="checkbox"/>
|
<input id="mobile-menu-toggle" type="checkbox"/>
|
||||||
<ul id="mobile-nav-link">
|
<ul id="mobile-nav-link">
|
||||||
<div class="search-container">
|
<div class="search-container">
|
||||||
<form id="searchFormMob" method="post" action="https://duckduckgo.com/" target="_blank" rel="noopener external nofollow noreferrer">
|
<form id="searchFormMob" method="post" action="https://duckduckgo.com/" rel="noopener external nofollow noreferrer">
|
||||||
<input type="text" name="q" class="search-box" placeholder="Search..." title="Powered by DuckDuckGo">
|
<input type="text" name="q" class="search-box" placeholder="Search..." title="Powered by DuckDuckGo">
|
||||||
<input type="hidden" name="sites" value="<%- config.url.replace(/^http(s)?:\/\//, '') %>">
|
<input type="hidden" name="sites" value="<%- config.url.replace(/^http(s)?:\/\//, '') %>">
|
||||||
<input type="hidden" name="kd" value="-1">
|
<input type="hidden" name="kd" value="-1">
|
||||||
|
|
Loading…
Reference in New Issue