Browse Source

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.
master
Miguel Freitas 10 years ago
parent
commit
5df149b3fd
  1. 1
      js/mobile_abstract.js

1
js/mobile_abstract.js

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

Loading…
Cancel
Save