give up with lobby table sorting
This commit is contained in:
parent
e4557a258f
commit
a9e8b2c2b9
|
@ -7,7 +7,7 @@ import controllers.routes
|
|||
|
||||
trait AssetHelper {
|
||||
|
||||
val assetVersion = 51
|
||||
val assetVersion = 52
|
||||
|
||||
def cssTag(name: String) = css("stylesheets/" + name)
|
||||
|
||||
|
|
|
@ -144,7 +144,6 @@ signedJs: Option[String] = None)(body: Html)(implicit ctx: Context)
|
|||
</div>
|
||||
}
|
||||
@jsTag("deps.min.js")
|
||||
@jsTag("table.js")
|
||||
@signedJs.fold(isProd.fold(jsTagC("big.js"), jsTag("big.js")))(jsAt)
|
||||
@moreJs
|
||||
@if(lang.language != "en") {
|
||||
|
|
|
@ -1932,8 +1932,6 @@ var lichess_sri = Math.random().toString(36).substring(5); // 8 chars
|
|||
var $hooks = $wrap.find('#hooks');
|
||||
var $noHook = $wrap.find('.no_hook');
|
||||
var $canvas = $wrap.find('.canvas');
|
||||
var $table = $wrap.find('#hooks_table').stupidtable();
|
||||
// $table.find('th.elo').data('sort-dir', 'asc').click();
|
||||
var $tbody = $table.find('tbody');
|
||||
var $userTag = $('#user_tag');
|
||||
var isRegistered = $userTag.length > 0
|
||||
|
@ -2137,10 +2135,6 @@ var lichess_sri = Math.random().toString(36).substring(5); // 8 chars
|
|||
undrawHook($(this).data('hook'));
|
||||
}
|
||||
});
|
||||
// $table.find('th').data('sort-dir', null);
|
||||
// var $th = $table.find('th.sorting-asc, th.sorting-desc').first();
|
||||
// $th.data('sort-dir', $th.hasClass('sorting-asc') ? 'desc' : 'asc').click();
|
||||
// $th.click();
|
||||
|
||||
$noHook.toggle(visible == 0);
|
||||
$wrap
|
||||
|
|
|
@ -1480,7 +1480,7 @@ div.game_config div.color_submits button.random span {
|
|||
overflow: hidden;
|
||||
}
|
||||
#hooks_table th {
|
||||
cursor: pointer;
|
||||
/* cursor: pointer; */
|
||||
border-bottom: 1px solid #ccc;
|
||||
padding: 10px 12px;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue