Browse Source

demos : hash-history whitespace fix

pull/96/head
David DeSandro 14 years ago
parent
commit
7dd9f335d3
  1. 12
      _posts/demos/2011-06-13-hash-history.html

12
_posts/demos/2011-06-13-hash-history.html

@ -77,16 +77,7 @@ $(function(){
layoutMode: 'masonry' layoutMode: 'masonry'
}; };
{% include random-sizes.js %}
// hacky way of adding random size classes
$container.find('.element').each(function(){
if ( Math.random() > 0.6 ) {
$(this).addClass('width2');
}
if ( Math.random() > 0.6 ) {
$(this).addClass('height2');
}
});
var setupOptions = $.extend( defaultOptions, { var setupOptions = $.extend( defaultOptions, {
itemSelector : '.element', itemSelector : '.element',
@ -184,7 +175,6 @@ $(function(){
// trigger hashchange to capture any hash data on init // trigger hashchange to capture any hash data on init
.trigger('hashchange'); .trigger('hashchange');
}); });
</script> </script>

Loading…
Cancel
Save