diff --git src/wp-content/themes/twentythirteen/js/functions.js src/wp-content/themes/twentythirteen/js/functions.js
index e0d759b..88e8d0b 100644
|
|
|
|
| 119 | 119 | /** |
| 120 | 120 | * Arranges footer widgets vertically. |
| 121 | 121 | */ |
| 122 | | if ( $.isFunction( $.fn.masonry ) ) { |
| 123 | | var columnWidth = body.is( '.sidebar' ) ? 228 : 245, |
| 124 | | widgetArea = $( '#secondary .widget-area' ); |
| | 122 | $( function() { |
| | 123 | var columnWidth, widgetArea; |
| | 124 | if ( ! $.isFunction( $.fn.masonry ) ) { |
| | 125 | return; |
| | 126 | } |
| | 127 | columnWidth = body.is( '.sidebar' ) ? 228 : 245; |
| | 128 | widgetArea = $( '#secondary .widget-area' ); |
| 125 | 129 | |
| 126 | 130 | widgetArea.masonry( { |
| 127 | 131 | itemSelector: '.widget', |
| … |
… |
|
| 157 | 161 | } |
| 158 | 162 | } ); |
| 159 | 163 | } |
| 160 | | } |
| | 164 | } ); |
| 161 | 165 | } )( jQuery ); |
| | 166 | No newline at end of file |