Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Port changes to mobile

  • Loading branch information...
commit a5cd6d90406b7bbe4d0f3a0b9509fe64602fc664 1 parent 93f2973
@lidavidm lidavidm authored
Showing with 5 additions and 5 deletions.
  1. +1 −1  static/expand_right.js
  2. +4 −4 templates/shellmobile.html
View
2  static/expand_right.js
@@ -18,7 +18,7 @@ function makeTransition(elemId, arrowId, closedHeight, openHeight) {
$(document).ready(function(){
$('.clickable_top').each(function(i, elem){
- var elem_id = $(elem).parent().parent().attr('id');
+ var elem_id = $(elem).parents('div').first().attr('id');
var arrow_id = elem_id + '_arrow';
$('#' + arrow_id).addClass('arrow');
$(elem).click(makeTransition('#' + elem_id, '#' + arrow_id));
View
8 templates/shellmobile.html
@@ -89,7 +89,7 @@
}
</script>
<div id="about">
- <div class="clickable_top" onclick="transition_about();">
+ <div class="clickable_top">
<div class="title"><h3 style="display:block;">About this page</h3></div>
<div id="about_arrow"><img src="static/arrow.png" width="25" height="25" alt="Arrow"/></div>
</div>
@@ -110,7 +110,7 @@
</div>
{% if user %}<br/>{% endif %}
<div id="user_searches" {% if not user %}style="display:none;"{% endif %}>
- <div class="clickable_top" onclick="expand_userhistory();">
+ <div class="clickable_top">
<div id="user_searches_arrow">
<img height="25" width="25" alt="Arrow" src="static/arrow.png">
</div>
@@ -129,7 +129,7 @@
<div id="clear_searches" onclick="clear_searches();"><a href="#">(Clear History)</a></div>
</div><br/>
<div id="recent_searches">
- <div class="clickable_top" onclick="expand_history();">
+ <div class="clickable_top">
<div class="title">
<h3>Recent Searches</h3>
</div>
@@ -149,7 +149,7 @@
</div>
</div><br/>
<div id="settings">
- <div class="clickable_top" onclick="expand_settings();">
+ <div class="clickable_top">
<div class="title"><h3>Settings</h3></div>
<div id="settings_arrow"><img src="static/arrow.png" width="25" height="25" alt="Arrow"/></div>
</div>
Please sign in to comment.
Something went wrong with that request. Please try again.