Browse Source

demos : hash-history whitespace fix

pull/96/head
David DeSandro 13 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'
};
// 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');
}
});
{% include random-sizes.js %}
var setupOptions = $.extend( defaultOptions, {
itemSelector : '.element',
@ -184,7 +175,6 @@ $(function(){
// trigger hashchange to capture any hash data on init
.trigger('hashchange');
});
</script>

Loading…
Cancel
Save