summaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
Diffstat (limited to 'resources')
-rw-r--r--resources/views/admin/components.phtml15
1 files changed, 2 insertions, 13 deletions
diff --git a/resources/views/admin/components.phtml b/resources/views/admin/components.phtml
index 036ed854b0..c9358d56f8 100644
--- a/resources/views/admin/components.phtml
+++ b/resources/views/admin/components.phtml
@@ -33,7 +33,7 @@ use Illuminate\Support\Collection;
<form method="post">
<?= csrf_field() ?>
- <table class="table table-bordered wt-table-menu">
+ <table class="table table-bordered wt-table-components">
<thead>
<tr>
<th><?= I18N::translate('Module') ?></th>
@@ -172,7 +172,7 @@ use Illuminate\Support\Collection;
<?php View::push('javascript') ?>
<script>
- $('.wt-table-menu td.move').click(function () {
+ $('.wt-table-components td.move').click(function () {
let row = $(this).closest('tr');
if ($(this).hasClass('up')) {
@@ -186,14 +186,3 @@ use Illuminate\Support\Collection;
</script>
<?php View::endpush() ?>
-<?php View::push('styles') ?>
-<style>
- .wt-table-menu tr:first-child .wt-icon-arrow-up {
- display: none;
- }
-
- .wt-table-menu tr:last-child .wt-icon-arrow-down {
- display: none;
- }
-</style>
-<?php View::endpush() ?>