mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
Clean up the message we display while bankrupting you.
(imported from commit 007c97eded421a021cd6aefb7f38fe8f4946b26c)
This commit is contained in:
@@ -1574,7 +1574,11 @@ $(function () {
|
||||
});
|
||||
|
||||
$('#yes-bankrupt').click(function (e) {
|
||||
fast_forward_pointer(this);
|
||||
fast_forward_pointer();
|
||||
$("#yes-bankrupt").hide();
|
||||
$("#no-bankrupt").hide();
|
||||
$(this).after($("<div>").addClass("alert alert-info settings_committed")
|
||||
.text("Bringing you to your latest messages…"));
|
||||
});
|
||||
|
||||
// initialize other stuff
|
||||
|
||||
@@ -1205,14 +1205,7 @@ function move_pointer_at_page_top_and_bottom(delta) {
|
||||
}
|
||||
}
|
||||
|
||||
function fast_forward_pointer(btn) {
|
||||
btn = $(btn);
|
||||
|
||||
btn.attr('disabled', 'disabled');
|
||||
|
||||
btn.after($("<div>").addClass("alert alert-info settings_committed")
|
||||
.text("Working…"));
|
||||
|
||||
function fast_forward_pointer() {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: '/json/get_profile',
|
||||
|
||||
Reference in New Issue
Block a user