mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-31 07:57:47 +01:00
515 Compatibility (#19636)
* 515 compat * double spaces * Callback documentation, aa review * spacing * NAMEOF_STATIC * big beta
This commit is contained in:
@@ -27,8 +27,9 @@
|
||||
// Basic checks to detect whether this page runs in BYOND
|
||||
var isByond =
|
||||
!!navigator.userAgent.match(/Trident\/(\d+).+?;/i) &&
|
||||
location.hostname === '127.0.0.1' &&
|
||||
location.pathname.indexOf('/tmp') === 0;
|
||||
location.hostname === '127.0.0.1';
|
||||
//As of BYOND 515 the path doesn't seem to include tmp dir anymore if you're trying to open tgui in external browser and looking why it doesn't work
|
||||
//&& location.pathname.indexOf('/tmp') === 0
|
||||
// Makes a BYOND call.
|
||||
// See: https://secure.byond.com/docs/ref/skinparams.html
|
||||
Byond.call = function (path, params) {
|
||||
|
||||
Reference in New Issue
Block a user