Add hash when slot opens modal

This commit is contained in:
Oleh Zasadnyy 2014-11-14 21:36:58 +02:00
parent ecf83a0c6c
commit e95e3c7bd8
3 changed files with 5 additions and 2 deletions

File diff suppressed because one or more lines are too long

View file

@ -225,6 +225,9 @@
var iframe = $(this).find('iframe'); var iframe = $(this).find('iframe');
iframe.attr('src', iframe.attr('src')); iframe.attr('src', iframe.attr('src'));
}); });
$('.slot').click(function() {
location.hash = $(this).attr('id');
});
if (typeof twitterFeedUrl !== 'undefined') { if (typeof twitterFeedUrl !== 'undefined') {

2
js/scripts.min.js vendored

File diff suppressed because one or more lines are too long