mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 04:22:39 +01:00
Fixed vueui resources not working (#5095)
* Fixed vueui resources not working * Changelog * Mistake
This commit is contained in:
@@ -126,7 +126,7 @@ main ui datum.
|
||||
<header-[header]></header-[header]>
|
||||
</div>
|
||||
<div id="app">
|
||||
|
||||
Javascript file has failed to load. <a href="?src=\ref[src]&vueuiforceresource=1">Click here to force load resources</a>
|
||||
</div>
|
||||
[debugtxt]
|
||||
<noscript>
|
||||
@@ -232,6 +232,11 @@ main ui datum.
|
||||
update_status()
|
||||
if(status < STATUS_INTERACTIVE || user != usr)
|
||||
return
|
||||
if(href_list["vueuiforceresource"])
|
||||
if(user.client)
|
||||
user.client << browse_rsc(file("vueui/dist/app.js"), "vueui.js")
|
||||
user.client << browse_rsc(file("vueui/dist/app.css"), "vueui.css")
|
||||
open()
|
||||
if(href_list["vueuistateupdate"])
|
||||
var/rdata = json_decode(href_list["vueuistateupdate"])
|
||||
var/ndata = rdata["state"]
|
||||
|
||||
Reference in New Issue
Block a user