diff --git a/public/src/modules/alerts.js b/public/src/modules/alerts.js index 5f2518b8ce..6516dc48ea 100644 --- a/public/src/modules/alerts.js +++ b/public/src/modules/alerts.js @@ -39,12 +39,14 @@ define(function() { } if (typeof params.clickfn === 'function') { - alert.on('click', function (e) { - if(!$(e.target).is('.close')) { - params.clickfn(); - } - fadeOut(alert); - }); + alert + .addClass('pointer') + .on('click', function (e) { + if(!$(e.target).is('.close')) { + params.clickfn(); + } + fadeOut(alert); + }); } }); });