mirror of
https://github.com/heyarne/berliner-winter.git
synced 2026-05-06 19:23:39 +02:00
Add splash screen
This commit is contained in:
parent
06b2dd9e47
commit
a478a3cd77
4 changed files with 100 additions and 5 deletions
|
|
@ -19,8 +19,19 @@ $.getJSON('/articles/')
|
|||
.fail(console.error.bind(console))
|
||||
.then(function (response) {
|
||||
console.log('Got data successfully!')
|
||||
console.log(response.length)
|
||||
visualization = new Visualization(map, response, colors)
|
||||
.setupCategoryFilter('.category-filter')
|
||||
.setupYearFilter('.year-filter')
|
||||
.displayMarkers()
|
||||
});
|
||||
})
|
||||
|
||||
$('.begin').on('click', function (e) {
|
||||
$('#overlay')
|
||||
.fadeOut(700)
|
||||
.then(function() { $(this).remove() })
|
||||
|
||||
e.preventDefault()
|
||||
e.stopPropagation()
|
||||
return false
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue