mirror of
https://github.com/urbit/shrub.git
synced 2024-12-14 11:08:45 +03:00
urb.wall disableable by setting urb.wal===false
This commit is contained in:
parent
fff344f9ff
commit
f917d859af
@ -33,7 +33,7 @@ window.urb.req = function(method,url,params,json,cb) {
|
||||
if(res.data.reload)
|
||||
res.reload = res.data.reload
|
||||
} catch(e) {
|
||||
if(urb.wall || true) document.write(this.responseText) // XX
|
||||
if(urb.wall !== false) document.write(this.responseText) // XX
|
||||
err = {
|
||||
message:"Failed to parse JSON",
|
||||
raw:this.responseText
|
||||
|
Loading…
Reference in New Issue
Block a user