fix bugs, improve loading time
This commit is contained in:
+2
-1
@@ -16,6 +16,7 @@
|
||||
<script><%- loadfile("./js/extend_key.js") %></script>
|
||||
<script type="text/javascript" src="/api/dms/encrypt.js"></script>
|
||||
<script type="text/javascript">let user = <%- JSON.stringify(user) %></script>
|
||||
<script type="text/javascript">var posting_id = "<%- getDMPID() %>"</script>
|
||||
</head>
|
||||
<body>
|
||||
<%- navbar %>
|
||||
@@ -36,7 +37,7 @@
|
||||
<span id="reply" style="display:none;" class="noselect">Replying to: <b id="reply_username"></b> <small id="reply_text"></small> <button onclick="unreply()" style="color:red">X</button></span> <br>
|
||||
<textarea name="name" id="post-text" rows="8" cols="80"></textarea>
|
||||
<br>
|
||||
<button type="button" name="button" id="post-btn" onclick="postMessage()">Post</button>
|
||||
<button type="button" name="button" id="post-btn" onclick="postMessage(this)">Post</button>
|
||||
</div>
|
||||
<div class="channelTab">
|
||||
<input type="text" name="Username_input" id="Username_input" placeholder="Username" class="channel" style="font-size: 16px;" onkeypress="clickPress(event)"> <br>
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
<script type="text/javascript"><%- warnmessagejs %></script>
|
||||
<script type="text/javascript">let channels = <%- JSON.stringify(await getChannels()) %></script>
|
||||
<script type="text/javascript">let user = <%- JSON.stringify(user) %></script>
|
||||
<script type="text/javascript">var posting_id = "<%- getPID() %>"</script>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user