[gnome-web-www] Another attempt



commit 9200b8f43868571215b772561c1267fd3b176359
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Fri Jun 7 11:09:42 2019 +0200

    Another attempt

 theme/page-apply.php | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/theme/page-apply.php b/theme/page-apply.php
index 90f953b..acd2c58 100644
--- a/theme/page-apply.php
+++ b/theme/page-apply.php
@@ -105,8 +105,6 @@ if (array_key_exists('submit', $_POST)) {
 
    document.getElementById("gnome_username").disabled = !gnomeAlias.checked;
    document.getElementById("gnome_jabber").disabled = !gnomeAlias.checked;
-
-   document.getElementById("jabber_label").className = (gnomeAlias.checked ? "" : "disabled-checkbox");
 }
 
 </script>
@@ -145,9 +143,8 @@ if (array_key_exists('submit', $_POST)) {
 <div class="item benefits">
     <input name="gnome_jabber" id="gnome_jabber" type="checkbox"
         <?php echo ( isset($gnome_mail_alias)? '' : 'disabled' ) ?>
-        <?php echo ( isset($gnome_jabber)? 'checked' : '' ) ?> />
-
-    <span name="jabber_label" id="jabber_label" class="disabled-checkbox">Jabber account <em>(only if you 
adopt a @gnome.org mail alias)</em></span>
+        <?php echo ( isset($gnome_jabber)? '' : 'disabled' ) ?> />
+    <span name="jabber_label" id="jabber_label">Jabber account <em>(only if you adopt a @gnome.org mail 
alias)</em></span>
 </div>
 
 <h3>Contributions</h3>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]