Skip to content

Commit 4ea8796

Browse files
404 page has been updated.
1 parent 2599cb1 commit 4ea8796

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

404NotFound/404.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ <h1 id="ErrorTitle" class="error"></h1>
1414
<p id="ErrorDescription" class="error"></p>
1515
<br>
1616
<p><a id="MainPage" class="home" href="https://linuxuserslinuxmint.github.io"></a></p>
17-
<p><a id="SupportPage" class="home"></a></p>
17+
<p><a id="SupportPage" href="/support/support" class="home"></a></p>
1818
</body>
1919
</html>

404NotFound/404JS/404_not_found.js

-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ window.onload = function() {
33
var ErrorTitle = document.getElementById("ErrorTitle");
44
var ErrorDescription = document.getElementById("ErrorDescription");
55
var MainPage = document.getElementById("MainPage");
6-
var SupportPage = document.getElementById("SupportPage");
76

87
if (lang.startsWith("en")) {
98
ErrorTitle.innerHTML = "404 not found error";
@@ -13,7 +12,6 @@ window.onload = function() {
1312
console.error("LinuxUsersLinuxMint: 404 not found error. Sorry! The page or content you are trying to search for on this website may have been moved or deleted...");
1413
alert("404 not found error");
1514
document.title = "LinuxUsersLinuxMint - 404 Not found";
16-
SupportPage.href = "/support/index_en.html";
1715
}
1816
else if (lang.startsWith("tr")) {
1917
ErrorTitle.innerHTML = "404 bulunamadı hatası";
@@ -23,6 +21,5 @@ window.onload = function() {
2321
console.error("LinuxUsersLinuxMint: 404 bulunamadı hatası. Üzgünüm! bu web sitesinde aramaya çalıştığınız sayfa veya içerik taşınmış veya silinmiş olabilir...");
2422
alert("404 bulunamadı hatası");
2523
document.title = "LinuxUsersLinuxMint - 404 bulunamadı";
26-
SupportPage.href = "/support/index_tr.html";
2724
}
2825
};

0 commit comments

Comments
 (0)