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

[tor-commits] [lego/master] Fix navbar button



commit 9c33e2b8740728dc9de4c64915460b76fc7c4061
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date:   Tue Aug 20 17:19:21 2019 +0200

    Fix navbar button
---
 templates/navbar.html | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/templates/navbar.html b/templates/navbar.html
index fa06de2..7600885 100644
--- a/templates/navbar.html
+++ b/templates/navbar.html
@@ -43,7 +43,9 @@
       {% set alts = bag('alternatives').items() %}
       {% if alts|length > 1 %}
         <div class="btn-group dropdown pull-right">
-          {% if this.color == 'primary' %}
+          {% if not this.color %}
+            <button type="button" class="btn btn-primary bg-primary dropdown-toggle btn-block" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+          {% elif this.color == 'primary' %}
             <button type="button" class="btn btn-primary bg-primary dropdown-toggle btn-block" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
           {% else %}
             <button type="button" class="btn btn-dark bg-dark dropdown-toggle btn-block my-3 my-sm-0" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits