[gimp-web/testing] Adjust renderDownload() to the changed snippets
- From: Michael Schumacher <schumaml src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web/testing] Adjust renderDownload() to the changed snippets
- Date: Sat, 8 Mar 2014 20:11:13 +0000 (UTC)
commit cf9470b8672abad8c52eda70f727022604936bec
Author: Michael Schumacher <schumaml gmx de>
Date: Sat Mar 8 21:10:31 2014 +0100
Adjust renderDownload() to the changed snippets
includes/wgo.js | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/includes/wgo.js b/includes/wgo.js
index 967cdf5..b979e4c 100644
--- a/includes/wgo.js
+++ b/includes/wgo.js
@@ -29,22 +29,22 @@ function renderDownload(platform) {
$("#downloads").html("<div id=\"os\"> </div>\n<div id=\"moreos\"></div>\n<hr />\n<div
id=\"source\"> </div>\n");
if (platform == undefined) {
- $("#os").load($.browser.OS + ".xhtml"); // OS specific (autodetected)
+ $("#os").load($.browser.OS + ".html"); // OS specific (autodetected)
$("#moreos").html("<a href=\"javascript:renderDownload('all');\">Show other downloads</a>");
}
else if (platform == "all") {
$("#os").html("<div id=\"oslinux\"></div>\n<div id=\"osmac\"></div>\n<div id=\"oswindows\"></div>\n");
- $("#oslinux").load("Linux.xhtml");
- $("#osmac").load("Mac.xhtml");
- $("#oswindows").load("Windows.xhtml");
+ $("#oslinux").load("Linux.html");
+ $("#osmac").load("Mac.html");
+ $("#oswindows").load("Windows.html");
}
else
{
- $("#os").load(platform + ".xhtml"); // OS specific (manual)
+ $("#os").load(platform + ".html"); // OS specific (manual)
$("#moreos").html("<a href=\"javascript:renderDownload('all');\">Show other downloads</a>");
}
- $("#source").load("source.xhtml"); //sources for all
+ $("#source").load("source.html"); //sources for all
}
var usertyped = ""; //for the easteregg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]