File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 22 * This file is part of the Tracy (https://tracy.nette.org)
33 */
44
5- .tracy-sortable tr : first-child > * {
5+ .tracy-sortable > : first-child > tr : first-child > * {
66 position : relative;
77}
88
9- .tracy-sortable tr : first-child > * : hover : before {
9+ .tracy-sortable > : first-child > tr : first-child > * : hover : before {
1010 position : absolute;
1111 right : .3em ;
1212 content : "\21C5" ;
Original file line number Diff line number Diff line change 1111 {
1212 static init ( ) {
1313 document . documentElement . addEventListener ( 'click' , ( e ) => {
14- if ( e . target . matches ( '.tracy-sortable tr:first-child *' ) ) {
14+ if ( e . target . matches ( '.tracy-sortable > :first-child > tr:first-child *' ) ) {
1515 TableSort . sort ( e . target . closest ( 'td,th' ) ) ;
1616 }
1717 } ) ;
You can’t perform that action at this time.
0 commit comments