Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/12/2021 in all areas

  1. The variable t is assigned a default value of false -- logical negating a non-zero number results in a logical false. Code-squeezers and minimizers convert false to !1 and true to !0 so that a few bytes of code script is eliminated. (A few bytes here and there adds up. Saves on download byte count. The admin.js file was originally minimized, but now is somewhat pretty-printed.) Doing this initializing then gives a default value as the argument to all the functions that follow. But these functions usually acquire the thing on the web page that the function affects. So, setting t to true as it affects scrolling to the top of the page on document ready... not sure.
    1 point
×
×
  • Create New...