|
|
@@ -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.');
|