mirror of
https://github.com/medialab-prado/datamad2017.git
synced 2024-12-27 05:01:23 +01:00
Add hash when slot opens modal
This commit is contained in:
parent
ecf83a0c6c
commit
e95e3c7bd8
3 changed files with 5 additions and 2 deletions
File diff suppressed because one or more lines are too long
|
@ -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
2
js/scripts.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue