Ver Fonte

Merge pull request #709 from elron/patch-27

update script.js - Added a missing line
Eddie Machado há 11 anos atrás
pai
commit
e6b26d7335
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      library/js/scripts.js

+ 3 - 0
library/js/scripts.js

@@ -66,6 +66,9 @@ var timeToWaitForLast = 100;
  *    // if we're on the home page, we wait the set amount (in function above) then fire the function
  *    if( is_home ) { waitForFinalEvent( function() {
  *
+ *	// update the viewport, in case the window size has changed
+ *	viewport = updateViewportDimensions();
+ *
  *      // if we're above or equal to 768 fire this off
  *      if( viewport.width >= 768 ) {
  *        console.log('On home page and window sized to 768 width or more.');