This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// global variables | |
var compareWidthColumn, //previous width used for comparison | |
detectorColumn, //the element used to compare changes | |
smallScreenColumn; // Size of maximum width of single column media query | |
jQuery(document).ready(function($) { | |
//set the initial values | |
detectorColumn = jQuery('.js'); | |
compareWidthColumn = detectorColumn.width(); | |
smallScreenColumn = '481'; |