[gimp-web/testing] Children of #os are the interesting elements



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]