[gimp-web/testing] Children of #os are the interesting elements
- From: Michael Schumacher <schumaml src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web/testing] Children of #os are the interesting elements
- Date: Tue, 28 Jul 2015 22:54:43 +0000 (UTC)
commit cc178c71c9431fcfd8227bb9aa00b207ab8f9fb6
Author: Michael Schumacher <schumaml gmx de>
Date: Wed Jul 29 00:54:01 2015 +0200
Children of #os are the interesting elements
includes/wgo.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/includes/wgo.js b/includes/wgo.js
index c2f5bb6..dc13736 100644
--- a/includes/wgo.js
+++ b/includes/wgo.js
@@ -61,8 +61,8 @@ function renderDownload(platform) {
}
else
{
- $('#os').each(function() {
- if ($(this).attr('id') != 'os' && $(this).attr('id') != platform) {
+ $('#os').children().each(function() {
+ if ($(this).attr('id') != platform) {
$(this).hide();
} else {
$(this).show();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]