[web-people] master: A copy still runs on master., so make that work too

From: Date: Mon, 10 Jun 2024 11:40:57 +0000
Subject: [web-people] master: A copy still runs on master., so make that work too
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-31716@lists.php.net to get a copy of this message
Author: Derick Rethans (derickr) Date: 2024-06-10T12:40:41+01:00 Commit: https://github.com/php/web-people/commit/d08948b0a8c5f55500d7e8ee1f673166de84ad41 Raw diff: https://github.com/php/web-people/commit/d08948b0a8c5f55500d7e8ee1f673166de84ad41.diff A copy still runs on master., so make that work too Changed paths: M js/search.js Diff: diff --git a/js/search.js b/js/search.js index c266c05..e49ed07 100644 --- a/js/search.js +++ b/js/search.js @@ -13,7 +13,7 @@ $(document).ready(function() { maxHeight:400, fnFormatResult: fnFormatSearchResult, onSelect: function(value, data){ - if (window.location.host == 'main.php.net') { + if (window.location.host == 'main.php.net' || window.location.host == 'master.php.net') { window.location = "/manage/users.php?username=" + users[value]["username"]; } else { window.location = "/" + users[value]["username"];

« previous php.webmaster (#31716) next »