public/front/js/New Tab_files/newTab.js
/**
   * Rearranges the sites currently contained in the grid when a site would be
   * dropped onto the given cell.
   * @param aCell The drop target cell.
   * @return The re-arranged array of sites.
   */
Rearranges the sites currently contained in the grid when a site would be
dropped onto the given cell.
@param aCell The drop target cell.
@return The re-arranged array of sites.
Rearranges the sites currently contained in the grid when a site would be dropped onto the given cell . @param aCell The drop target cell . @return The re - arranged array of sites .
function DropPreview_rearrange(aCell) {
    let sites = gGrid.sites;
    this._insertDraggedSite(sites, aCell);
    this._repositionPinnedSites(sites, aCell);
    return sites;
  }
function DropPreview_rearrange ( aCell ) { let sites = gGrid . sites ; this . _insertDraggedSite ( sites , aCell ) ; this . _repositionPinnedSites ( sites , aCell ) ; return sites ; }
Rearranges the sites currently contained in the grid when a site would be
 dropped onto the given cell.
Rearranges the sites currently contained in the grid when a site would be dropped onto the given cell .
// Insert the dragged site into the current grid. // After the new site has been inserted we need to correct the positions // of all pinned tabs that have been moved around.