mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
Improved Wiki Button (#15147)
* Improved Wiki Button * delete redundant popup Co-authored-by: Kyep <Kyep@users.noreply.github.com>
This commit is contained in:
@@ -261,14 +261,7 @@ SUBSYSTEM_DEF(changelog)
|
||||
if("forum")
|
||||
usr.client.forum()
|
||||
if("wiki")
|
||||
// Wiki needs snowflake because it has no cancel button
|
||||
if(config.wikiurl)
|
||||
if(alert("This will open the wiki in your browser. Are you sure?",,"Yes","No")=="No")
|
||||
return
|
||||
usr.client.wiki()
|
||||
else
|
||||
to_chat(usr, "<span class='danger'>The Wiki URL is not set in the server configuration. Please inform the server host.</span>")
|
||||
|
||||
usr.client.wiki()
|
||||
if("github")
|
||||
usr.client.github()
|
||||
// Takes a PR number as argument
|
||||
|
||||
Reference in New Issue
Block a user