From b37893176f2ae64840a8319448e53a2d4bf78cee Mon Sep 17 00:00:00 2001 From: calzoneman Date: Sun, 16 Feb 2014 02:19:51 -0600 Subject: [PATCH] Fix error message placement --- www/assets/js/callbacks.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/www/assets/js/callbacks.js b/www/assets/js/callbacks.js index 2c45da07..a7af70f6 100644 --- a/www/assets/js/callbacks.js +++ b/www/assets/js/callbacks.js @@ -360,7 +360,9 @@ Callbacks = { }, channelRankFail: function (data) { - makeAlert("Error", data.msg, "alert-danger").insertAfter($("#cs-chanranks h4")); + makeAlert("Error", data.msg, "alert-danger") + .removeClass().addClass("vertical-spacer") + .insertAfter($("#cs-chanranks form")); }, readChanLog: function (data) {