File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -286,15 +286,15 @@ function register_details_row_button_action() {
286286
287287 if ( row .child .isShown () ) {
288288 // This row is already open - close it
289- $ (this ).children ( ' i ' ). removeClass (' fa-minus-square-o' ).addClass (' fa-plus-square-o' );
289+ $ (this ).removeClass (' fa-minus-square-o' ).addClass (' fa-plus-square-o' );
290290 $ (' div.table_row_slider' , row .child ()).slideUp ( function () {
291291 row .child .hide ();
292292 tr .removeClass (' shown' );
293293 } );
294294 }
295295 else {
296296 // Open this row
297- $ (this ).children ( ' i ' ). removeClass (' fa-plus-square-o' ).addClass (' fa-minus-square-o' );
297+ $ (this ).removeClass (' fa-plus-square-o' ).addClass (' fa-minus-square-o' );
298298 // Get the details with ajax
299299 $ .ajax ({
300300 url: ' {{ Request:: url () } } /' + btn .data (' entry-id' )+ ' /details' ,
You can’t perform that action at this time.
0 commit comments