Skip to content

Commit

Permalink
Add hash when slot opens modal
Browse files Browse the repository at this point in the history
  • Loading branch information
ozasadnyy committed Nov 14, 2014
1 parent ecf83a0 commit e95e3c7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion css/main.css

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions js/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,9 @@
var iframe = $(this).find('iframe');
iframe.attr('src', iframe.attr('src'));
});
$('.slot').click(function() {
location.hash = $(this).attr('id');
});


if (typeof twitterFeedUrl !== 'undefined') {
Expand Down
Loading

0 comments on commit e95e3c7

Please sign in to comment.