function checkURL() {

  //get the url by removing the hash
  var url = location.hash.replace(/^#/, '');

  container = $('#content');
  // Do this if url exists (for page refresh, etc...)
  
  //DOGEWALLET: START MOD
  //console.log("HERE, url: " + url);
  //console.log("HERE, login pane hidden?: " + $('#logon').is(':hidden'));
  //if (url) {
  if (url && $('#logon').is(':hidden')) {
  //DOGEWALLET: END MOD
  
    // remove all active class
    $('nav li.active').removeClass("active");
    // match the url and add the active class
    $('nav li:has(a[href="' + url + '"])').addClass("active");
    var title = ($('nav a[href="' + url + '"]').attr('title'))

    // change page title from global var
    document.title = (title || document.title);
    //console.log("page title: " + document.title);

    // parse url to jquery
    loadURL(url + location.search, container);
  } else {
    //DOGEWALLET: START MOD
    //Dont load anything, just reset any hash
    //window.location.hash = '';
    //DOGEWALLET: END MOD
  }

}
// CHECK TO SEE IF URL EXISTS
CHECK TO SEE IF URL EXISTS
CHECK TO SEE IF URL EXISTS
function checkURL() {
  var url = location.hash.replace(/^#/, '');
  container = $('#content');
  if (url && $('#logon').is(':hidden')) {
    $('nav li.active').removeClass("active");
    $('nav li:has(a[href="' + url + '"])').addClass("active");
    var title = ($('nav a[href="' + url + '"]').attr('title'))
    document.title = (title || document.title);
    loadURL(url + location.search, container);
  } else {
  }
}
function checkURL ( ) { var url = location . hash . replace ( / ^# / , '' ) ; container = $ ( '#content' ) ; if ( url && $ ( '#logon' ) . is ( ':hidden' ) ) { $ ( 'nav li.active' ) . removeClass ( "active" ) ; $ ( 'nav li:has(a[href="' + url + '"])' ) . addClass ( "active" ) ; var title = ( $ ( 'nav a[href="' + url + '"]' ) . attr ( 'title' ) ) document . title = ( title || document . title ) ; loadURL ( url + location . search , container ) ; } else { } }
CHECK TO SEE IF URL EXISTS
CHECK TO SEE IF URL EXISTS
//get the url by removing the hash // Do this if url exists (for page refresh, etc...) //DOGEWALLET: START MOD //console.log("HERE, url: " + url); //console.log("HERE, login pane hidden?: " + $('#logon').is(':hidden')); //if (url) { //DOGEWALLET: END MOD // remove all active class // match the url and add the active class // change page title from global var //console.log("page title: " + document.title); // parse url to jquery //DOGEWALLET: START MOD //Dont load anything, just reset any hash //window.location.hash = ''; //DOGEWALLET: END MOD