forked from rDrama/rDrama
replace spaces with tabs
parent
f3a0080698
commit
241c45409e
|
@ -92,7 +92,7 @@ for (const element of setting_selects) {
|
|||
const TH = document.getElementsByTagName('th')
|
||||
for (const element of TH) {
|
||||
if (element.classList.contains("disable-sort-click"))
|
||||
continue;
|
||||
continue;
|
||||
|
||||
element.addEventListener('click', () => {sort_table(element)});
|
||||
}
|
||||
|
|
|
@ -383,7 +383,7 @@ var SpiderController = function() {
|
|||
SpiderController.prototype = BugDispatch;
|
||||
|
||||
/***************/
|
||||
/** Bug **/
|
||||
/** Bug **/
|
||||
/***************/
|
||||
|
||||
var Bug = {
|
||||
|
@ -659,7 +659,7 @@ var Bug = {
|
|||
// set the positions in our fly map for min distance finding
|
||||
if (this.options.spider === undefined){
|
||||
fliess.set(this, {x:x-XOFFSET, y:y-YOFFSET});
|
||||
}
|
||||
}
|
||||
|
||||
// transform:
|
||||
var trans = "translate(" + parseInt(x) + "px," + parseInt(y) + "px)";
|
||||
|
|
|
@ -18,12 +18,12 @@ function highlight_unread(localstoragevar) {
|
|||
highlight_unread("comment-counts")
|
||||
|
||||
if (!location.href.includes("#context")) {
|
||||
localStorage.setItem("old-comment-counts", localStorage.getItem("comment-counts"))
|
||||
localStorage.setItem("old-comment-counts", localStorage.getItem("comment-counts"))
|
||||
|
||||
const comments = JSON.parse(localStorage.getItem("comment-counts")) || {}
|
||||
const newTotal = pcc || ((comments[pid] || {c: 0}).c + 1)
|
||||
comments[pid] = {c: newTotal, t: Date.now()}
|
||||
localStorage.setItem("comment-counts", JSON.stringify(comments))
|
||||
const newTotal = pcc || ((comments[pid] || {c: 0}).c + 1)
|
||||
comments[pid] = {c: newTotal, t: Date.now()}
|
||||
localStorage.setItem("comment-counts", JSON.stringify(comments))
|
||||
}
|
||||
|
||||
const fake_textarea = document.querySelector('[data-href]')
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -56,7 +56,7 @@ AWARDS = {
|
|||
"ghost": False,
|
||||
"enabled": IS_FISTMAS(),
|
||||
},
|
||||
"snow": {
|
||||
"snow": {
|
||||
"kind": "snow",
|
||||
"title": "Snow",
|
||||
"description": "",
|
||||
|
|
|
@ -414,9 +414,9 @@ MODACTION_PRIVILEGED_TYPES = {'shadowban', 'unshadowban',
|
|||
MODACTION_PRIVILEGED__TYPES = {'progstack_post', 'progstack_comment',
|
||||
'unprogstack_post', 'unprogstack_comment'}
|
||||
MODACTION_TYPES_FILTERED = deepcopy({t:v for t,v in MODACTION_TYPES.items()
|
||||
if not t in MODACTION_PRIVILEGED_TYPES})
|
||||
if not t in MODACTION_PRIVILEGED_TYPES})
|
||||
MODACTION_TYPES__FILTERED = deepcopy({t:v for t,v in MODACTION_TYPES.items()
|
||||
if not t in MODACTION_PRIVILEGED__TYPES})
|
||||
if not t in MODACTION_PRIVILEGED__TYPES})
|
||||
AEVANN_MODACTION_TYPES = {'ban_user','unban_user',
|
||||
'shadowban','unshadowban',
|
||||
'delete_media'}
|
||||
|
|
|
@ -99,7 +99,7 @@ def calc_users():
|
|||
|
||||
|
||||
return {'loggedin_counter':loggedin_counter,
|
||||
'loggedout_counter':loggedout_counter,
|
||||
'loggedout_counter':loggedout_counter,
|
||||
'loggedin_chat':loggedin_chat}
|
||||
|
||||
def current_registered_users():
|
||||
|
|
|
@ -626,9 +626,9 @@ line breaks
|
|||
</table></div>
|
||||
|
||||
<div class="toast clipboard" id="toast-success" data-bs-animation="true" data-bs-autohide="true" data-bs-delay="5000">
|
||||
<div class="toast-body text-center">
|
||||
<i class="fas fa-check-circle text-success mr-2"></i>Text copied to clipboard
|
||||
</div>
|
||||
<div class="toast-body text-center">
|
||||
<i class="fas fa-check-circle text-success mr-2"></i>Text copied to clipboard
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script defer src="{{'js/vendor/clipboard.js' | asset}}"></script>
|
||||
|
|
Loading…
Reference in New Issue