Aevann 2024-02-23 23:25:00 +02:00
parent 759c90fdf8
commit 2b365d4e4b
3 changed files with 16 additions and 16 deletions

View File

@ -5570,7 +5570,7 @@ code {
cursor: pointer !important; cursor: pointer !important;
} }
.disable-sort-click { .disable-sort-click:not(.sorting) {
cursor: default !important; cursor: default !important;
} }

View File

@ -23,16 +23,16 @@
<table class="datatable d-none"> <table class="datatable d-none">
<thead> <thead>
<tr> <tr>
<th>#</th> <th class="disable-sort-click">#</th>
<th>Name</th> <th class="disable-sort-click">Name</th>
<th>Emoji</th> <th class="disable-sort-click">Emoji</th>
<th>Usage</th> <th class="disable-sort-click">Usage</th>
<th>Author</th> <th class="disable-sort-click">Author</th>
<th>Added on</th> <th class="disable-sort-click">Added on</th>
{% if FEATURES['EMOJI_SUBMISSIONS'] %} {% if FEATURES['EMOJI_SUBMISSIONS'] %}
<th class="disable-sort-click">Original File</th> <th class="disable-sort-click">Original File</th>
{% endif %} {% endif %}
<th>Tags</th> <th class="disable-sort-click">Tags</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -50,7 +50,7 @@
{% include "user_in_table.html" %} {% include "user_in_table.html" %}
{% endif %} {% endif %}
</td> </td>
<td data-sort-key="{{emoji.created_utc}}" {% if emoji.created_utc %}data-time="{{emoji.created_utc}}"{% endif %}></td> <td data-sort="{{emoji.created_utc}}" {% if emoji.created_utc %}data-time="{{emoji.created_utc}}"{% endif %}></td>
{% if FEATURES['EMOJI_SUBMISSIONS'] %} {% if FEATURES['EMOJI_SUBMISSIONS'] %}
<td> <td>
{% if emoji.og %} {% if emoji.og %}

View File

@ -44,15 +44,15 @@
<thead> <thead>
<tr> <tr>
<th class="disable-sort-click">Hat</th> <th class="disable-sort-click">Hat</th>
<th>Name</th> <th class="disable-sort-click">>Name</th>
<th>Description</th> <th class="disable-sort-click">>Description</th>
{% if SITE == 'rdrama.net' %} {% if SITE == 'rdrama.net' %}
<th>Author</a></th> <th class="disable-sort-click">>Author</a></th>
{% endif %} {% endif %}
<th>Owners</th> <th class="disable-sort-click">>Owners</th>
<th>Price</th> <th class="disable-sort-click">>Price</th>
<th class="disable-sort-click">Actions</th> <th class="disable-sort-click">Actions</th>
<th>Added on</th> <th class="disable-sort-click">>Added on</th>
</tr> </tr>
</thead> </thead>
@ -86,7 +86,7 @@
</div> </div>
</td> </td>
<td data-time="{{hat.created_utc}}"></td> <td data-sort="{{hat.created_utc}}" data-time="{{hat.created_utc}}"></td>
</tr> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>