Commit 714839007f1e5f9e453f98d2d9d0bfe5eedc245c
1 parent
ced67a13
Exists in
master
and in
2 other branches
Included contrast url in the login template
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
users/templates/users/login.html
... | ... | @@ -87,7 +87,7 @@ |
87 | 87 | <span >[{{LANGUAGE_CODE}}] </span> |
88 | 88 | |
89 | 89 | </a> |
90 | - <a href="" id = "contrast_button" style="margin-left:10px;"><i class="glyphicon glyphicon-adjust"></i></a> | |
90 | + <a href="{% url 'themes:contrast' %}" id = "contrast_button" style="margin-left:10px;"><i class="glyphicon glyphicon-adjust"></i></a> | |
91 | 91 | <ul class="dropdown-menu"> |
92 | 92 | |
93 | 93 | |
... | ... | @@ -150,11 +150,11 @@ |
150 | 150 | $("#contrast_button" ).click(function() { |
151 | 151 | if (Cookies.get('contrast_check')) { |
152 | 152 | Cookies.remove('contrast_check') |
153 | - location.reload() | |
153 | + //location.reload() | |
154 | 154 | } |
155 | 155 | else { |
156 | 156 | Cookies.set('contrast_check','contrast') |
157 | - location.reload() | |
157 | + //location.reload() | |
158 | 158 | } |
159 | 159 | |
160 | 160 | }); | ... | ... |