diff options
| author | yo momma <shutup@oops.wtf> | 2026-01-30 01:20:07 +0000 |
|---|---|---|
| committer | yo momma <shutup@oops.wtf> | 2026-01-30 01:20:07 +0000 |
| commit | e38f326875752a27a2819b6b7914ffe65e848aba (patch) | |
| tree | a92e248dadb7d663822bc4058cb1e713a14118ea /template/rooms/butt.st | |
| parent | b2d1b69fd6d9b1f0473ea70bc473df6f370891da (diff) | |
Refactor: JS init + HTTPS-safe URLs
Diffstat (limited to 'template/rooms/butt.st')
| -rwxr-xr-x | template/rooms/butt.st | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/template/rooms/butt.st b/template/rooms/butt.st index 1094ef4..4f1e739 100755 --- a/template/rooms/butt.st +++ b/template/rooms/butt.st @@ -35,7 +35,6 @@ $if(user_nick)$ <script type="text/javascript" src="/json/$user_nick$/favorites"></script> $endif$ <script> - jQuery(document).ready(initChat); var Nick = $json_user_nick$; var Room = $json_room_key$; var Timestamp = $timestamp$; @@ -44,16 +43,8 @@ $if(isadmin)$ $else$ var IsAdmin = false; $endif$ - if (Nick) { - jQuery(document).ready(function() { setupUpload('upload', Room); }); - } - function showAlert() { alert('MUST LOGIN'); } - var newwindow; - function pop(url) { - newwindow=window.open(url,'name','height=50,width=400,left=20,top=20,location=0,status=0,scrollbar=0,resizable=0'); - if (window.focus) {newwindow.focus()} - } </script> + <script type="text/javascript" src="/static/js/pages/chat_init.js?v=20260130"></script> <!--<style type="text/css"> html { |
