Refactor - fixed indents in hall js file

This commit is contained in:
jakub.salavec
2025-06-16 13:23:52 +02:00
parent d4429864f1
commit eb71794f38

View File

@@ -980,7 +980,6 @@ var GempLotrHallUI = Class.extend({
$(".queue" + id, this.tablesDiv).remove();
// Remove tournaments displayed as tables
$(".table" + id, this.tablesDiv).remove();
}
}
@@ -1017,7 +1016,6 @@ var GempLotrHallUI = Class.extend({
$(but).button().click((
function(tourneyInfo) {
var tourneyId = tournament.getAttribute("id");
return function() {
var win = window.open("/gemp-lotr/soloDraft.html?eventId=" + tourneyId, '_blank');
if (win) {
@@ -1034,7 +1032,6 @@ var GempLotrHallUI = Class.extend({
$(but).button().click((
function(tourneyInfo) {
var tourneyId = tournament.getAttribute("id");
return function() {
var win = window.open("/gemp-lotr/tableDraft.html?eventId=" + tourneyId, '_blank');
if (win) {
@@ -1051,7 +1048,6 @@ var GempLotrHallUI = Class.extend({
$(but).button().click((
function(tourneyInfo) {
var tourneyId = tournament.getAttribute("id");
return function() {
var win = window.open("/gemp-lotr/tableDraft.html?eventId=" + tourneyId, '_blank');
if (win) {
@@ -1155,7 +1151,6 @@ var GempLotrHallUI = Class.extend({
var row = $(rowstr);
row.append(actionsField);
// Row for tournament playing table
var displayType = type;
if(type === "sealed") {