Add an in-place MOTD editor
This commit is contained in:
parent
436df375c7
commit
d09d7ad64e
6 changed files with 48 additions and 2 deletions
|
|
@ -45,6 +45,8 @@ generateToggle("#librarytoggle", "#librarywrap");
|
|||
generateToggle("#userpltoggle", "#userplaylistwrap");
|
||||
generateToggle("#playlisttoggle", "#playlist_controls");
|
||||
|
||||
$("#editmotd").click(showMOTDEditor);
|
||||
|
||||
$("#togglemotd").click(function () {
|
||||
var hidden = $("#motd").css("display") === "none";
|
||||
$("#motd").toggle();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue