Improved accessibility using HTML_CodeSniffer

This commit is contained in:
Lucas Cimon
2017-08-17 20:07:10 +02:00
parent a19782f888
commit e7488682d5
3 changed files with 31 additions and 38 deletions

View File

@@ -95,9 +95,9 @@ http://www.tipue.com/search
{
return decodeURIComponent((new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(location.search)||[,""])[1].replace(/\+/g, '%20')) || null;
}
if (getURLP('content'))
if (getURLP('q'))
{
$('main .tipue_search').val(getURLP('content'));
$('main .tipue_search').val(getURLP('q'));
getTipueSearch(0, true);
}