mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 00:15:46 +01:00
if alert is closed dont fire clickfn
This commit is contained in:
@@ -221,6 +221,7 @@ var socket,
|
|||||||
alert.find('button').on('click', function() {
|
alert.find('button').on('click', function() {
|
||||||
params.closefn();
|
params.closefn();
|
||||||
fadeOut();
|
fadeOut();
|
||||||
|
return false;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user