workaround for hiding "new posts" button after selectable_theme was added.

there is conflict between theme "display:block!important" and button hiding.
i tried using a <span> to enclose the <button> but it then broke "float:right", argh.
so setting text to "" seems to hide it.
This commit is contained in:
Miguel Freitas 2014-09-22 22:32:40 -03:00
parent 7bbbfb4347
commit 5df149b3fd

View File

@ -104,6 +104,7 @@ var MAL = function()
newTweetsBarMenu.addClass("show");
} else {
newTweetsBar.hide();
newTweetsBar.text("");
newTweetsBarMenu.removeClass("show");
document.title = "twister";
}