Make notification dismissable.

This commit is contained in:
Arpad Csanyi
2016-06-16 00:12:57 +02:00
parent bf9ea9976d
commit bb362d08a4

4
app.js
View File

@@ -106,6 +106,10 @@ $(function() {
}
});
$('.notification').on('click', '.notification__dismiss', function(e) {
$('.notification').hide();
});
// Based on: http://stackoverflow.com/a/24933495
$('img.uhk').each(function(){
var $img = $(this);