Browse Source

load the buttons if the location checkbox is un-checked

pull/10/head
Aaron Parecki 6 years ago
parent
commit
aab58d5507
2 changed files with 7 additions and 2 deletions
  1. +1
    -1
      views/appcache.php
  2. +6
    -1
      views/new-post.php

+ 1
- 1
views/appcache.php View File

@ -12,4 +12,4 @@ CACHE MANIFEST
NETWORK:
*
# v25
# v28

+ 6
- 1
views/new-post.php View File

@ -168,6 +168,11 @@ $(function(){
$("#note_location").val('');
set_location_enabled(false);
// Load the buttons now
// This is for when the browser is taking too long to find location,
// the user might un-check the box
load_entry_buttons();
}
});
@ -213,7 +218,7 @@ $(function(){
// Show the notice that says there is a new version of the app
$("#new_version_available").show();
}
window.applicationCache.addEventListener('updateready', onUpdateReady);
if(window.applicationCache.status === window.applicationCache.UPDATEREADY) {
onUpdateReady();

Loading…
Cancel
Save