add cursor: pointer if alert's clickfn is defined

v1.18.x
psychobunny 11 years ago
parent 3c7b433e3a
commit 240932dd80

@ -39,7 +39,9 @@ define(function() {
}
if (typeof params.clickfn === 'function') {
alert.on('click', function (e) {
alert
.addClass('pointer')
.on('click', function (e) {
if(!$(e.target).is('.close')) {
params.clickfn();
}

Loading…
Cancel
Save