function deployGiftListEmptyNotification(){
    try{
        document.getElementById("TestGift").innerHTML = "No Gifts Found! Add Some Gifts With The Button Below!";
    } catch(err){
        console.log("Loading Element Missing, Creating A New One");
        var liItem = document.createElement("LI");
        liItem.id = "TestGift";
        liItem.className = "gift";
        var textNode = document.createTextNode("No Gifts Found! Add Some Gifts With The Button Below!");
        liItem.appendChild(textNode);
        giftList.insertBefore(liItem, document.getElementById("giftListContainer").childNodes[0]);
    }

    clearInterval(offlineTimer);
}
//This function deploys a notification that shows that the user's gift list is empty
This function deploys a notification that shows that the user's gift list is empty
This function deploys a notification that shows that the user ' s gift list is empty
function deployGiftListEmptyNotification(){
    try{
        document.getElementById("TestGift").innerHTML = "No Gifts Found! Add Some Gifts With The Button Below!";
    } catch(err){
        console.log("Loading Element Missing, Creating A New One");
        var liItem = document.createElement("LI");
        liItem.id = "TestGift";
        liItem.className = "gift";
        var textNode = document.createTextNode("No Gifts Found! Add Some Gifts With The Button Below!");
        liItem.appendChild(textNode);
        giftList.insertBefore(liItem, document.getElementById("giftListContainer").childNodes[0]);
    }
    clearInterval(offlineTimer);
}
function deployGiftListEmptyNotification ( ) { try { document . getElementById ( "TestGift" ) . innerHTML = "No Gifts Found! Add Some Gifts With The Button Below!" ; } catch ( err ) { console . log ( "Loading Element Missing, Creating A New One" ) ; var liItem = document . createElement ( "LI" ) ; liItem . id = "TestGift" ; liItem . className = "gift" ; var textNode = document . createTextNode ( "No Gifts Found! Add Some Gifts With The Button Below!" ) ; liItem . appendChild ( textNode ) ; giftList . insertBefore ( liItem , document . getElementById ( "giftListContainer" ) . childNodes [ 0 ] ) ; } clearInterval ( offlineTimer ) ; }
This function deploys a notification that shows that the user's gift list is empty
This function deploys a notification that shows that the user ' s gift list is empty