mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 16:05:49 +01:00
Merge remote-tracking branch 'origin/master' into webserver.js-refactor
This commit is contained in:
@@ -231,8 +231,10 @@ var socket,
|
||||
}
|
||||
|
||||
if (typeof params.clickfn === 'function') {
|
||||
alert.on('click', function () {
|
||||
params.clickfn();
|
||||
alert.on('click', function (e) {
|
||||
if(!$(e.target).is('.close')) {
|
||||
params.clickfn();
|
||||
}
|
||||
fadeOut();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user