Make notification dismissable.
This commit is contained in:
4
app.js
4
app.js
@@ -106,6 +106,10 @@ $(function() {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$('.notification').on('click', '.notification__dismiss', function(e) {
|
||||||
|
$('.notification').hide();
|
||||||
|
});
|
||||||
|
|
||||||
// Based on: http://stackoverflow.com/a/24933495
|
// Based on: http://stackoverflow.com/a/24933495
|
||||||
$('img.uhk').each(function(){
|
$('img.uhk').each(function(){
|
||||||
var $img = $(this);
|
var $img = $(this);
|
||||||
|
|||||||
Reference in New Issue
Block a user