diff options
-rw-r--r-- | www/js/views/photo.js | 6 | ||||
-rw-r--r-- | www/templates/en/photo.html | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/www/js/views/photo.js b/www/js/views/photo.js index 65b2f44..fb1eb68 100644 --- a/www/js/views/photo.js +++ b/www/js/views/photo.js @@ -20,10 +20,10 @@ beforeDisplay: function() { this.fixPageHeight(); if ( this.model.get('file') ) { - $('#id_photo_button').hide(); - $('#id_existing').hide(); + $('#id_photo_button').parents('.ui-btn').hide(); + $('#id_existing').parents('.ui-btn').hide(); } else { - this.$('#id_del_photo_button').hide(); + this.$('#id_del_photo_button').parents('.ui-btn').hide(); } }, diff --git a/www/templates/en/photo.html b/www/templates/en/photo.html index 6698a02..c0373a2 100644 --- a/www/templates/en/photo.html +++ b/www/templates/en/photo.html @@ -15,7 +15,7 @@ <img class="small" id="photo" src="<%= file %>" /> <% } %> </div> - <a data-role="button" id="id_existing" data-theme="c">Add an existing photo</a> - <a id="id_photo_button" data-role="button" data-theme="a">Take a new photo</a> - <a id="id_del_photo_button" data-role="button" data-theme="a">Remove Photo</a> + <input type="button" id="id_existing" data-theme="c" value="Add an existing photo" > + <input id="id_photo_button" type="button" data-theme="a" value="Take a new photo"> + <input id="id_del_photo_button" type="button" data-theme="a" valu="Remove Photo"> </div> |