function removeGiftElement(uid) {
    document.getElementById("gift" + uid).remove();

    giftCounter--;
    if (giftCounter == 0){
      deployGiftListEmptyNotification();
    }
  }
//This removes the gift's element from the webpage and deploys an empty gift list notification if necessary.
This removes the gift's element from the webpage and deploys an empty gift list notification if necessary.
This removes the gift ' s element from the webpage and deploys an empty gift list notification if necessary .
function removeGiftElement(uid) {
    document.getElementById("gift" + uid).remove();
    giftCounter--;
    if (giftCounter == 0){
      deployGiftListEmptyNotification();
    }
  }
function removeGiftElement ( uid ) { document . getElementById ( "gift" + uid ) . remove ( ) ; giftCounter -- ; if ( giftCounter == 0 ) { deployGiftListEmptyNotification ( ) ; } }
This removes the gift's element from the webpage and deploys an empty gift list notification if necessary.
This removes the gift ' s element from the webpage and deploys an empty gift list notification if necessary .