diff options
author | Struan Donald <struan@exo.org.uk> | 2013-07-26 12:01:57 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2013-07-26 12:01:57 +0100 |
commit | 1c91cd9502370a41bc21d3f7148d0ef6b16f102f (patch) | |
tree | 3085279fb96f40be10344279866b05d44a45a62a | |
parent | d03511a5eb6e15d195ddfd28b7df0a2b63174327 (diff) |
Apply button classes to drafts by hand
If we let jquery mobile enhance this button then you get a bug whereby
once you've gone to the drafts screen and returned moving the map cause
the hover code of the button to fire. I can't work out why that happens
and this solves the problem at the cost of the highlighting of the
button not working.
Fixes #4
-rw-r--r-- | src/templates/en/around.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/templates/en/around.html b/src/templates/en/around.html index 85ff286..683fdb6 100644 --- a/src/templates/en/around.html +++ b/src/templates/en/around.html @@ -1,6 +1,6 @@ <div data-id="locate" id="around-header" data-role="header"> - <a id="view-my-reports" class="nodisplay" data-role="button" href="#"> - Drafts <span class="draft_count"><% print( FMS.allDrafts.length ) %></span> + <a id="view-my-reports" class="nodisplay ui-btn ui-btn-left ui-btn-up-a ui-shadow ui-btn-corner-all" data-role="none" href="#"> + <span class="ui-btn-inner"<span class="ui-btn-text">Drafts <span class="draft_count"><% print( FMS.allDrafts.length ) %></span></span></span> </a> <a id="cancel" class="nodisplay" data-role="button" data-icon="arrow-l">Cancel</a> <h1>FixMyStreet</h1> |