Skip to content

Commit a474ced

Browse files
authored
Merge pull request #271 from bscheshirwork/remove-table-from-sorting-selector
Remove table from selector of sorting
2 parents 6b4adbf + 3ab6658 commit a474ced

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderers/BaseRenderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ private function registerJsSortable()
431431

432432
// todo override when ListRenderer will use div markup
433433
$options = Json::encode($this->getJsSortableOptions());
434-
$js = "$('#{$this->id} table').sorting($options);";
434+
$js = "$('#{$this->id}').sorting($options);";
435435
$view->registerJs($js);
436436
}
437437

0 commit comments

Comments
 (0)