This repository was archived by the owner on Nov 27, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,20 +23,20 @@ angular.
2323 }
2424}
2525] ) .
26- directive ( 'informOrder' , [ function ( ) {
27- var ariaStatusSort = document . querySelector ( '.aria-status-sort' ) ;
28- return {
29- restrict : 'A' ,
30- link : function ( $scope ) {
31- $scope . $watch ( '$ctrl.orderProp' , function ( order ) {
32- if ( order === 'age' ) {
33- ariaStatusSort . innerHTML = 'Items filter by newest'
34- } else {
35- ariaStatusSort . innerHTML = 'Items filter by alphabetical order'
36- }
37-
38- } ) ;
26+ directive ( 'informOrder' , [ function ( ) {
27+ var ariaStatusSort = document . querySelector ( '.aria-status-sort' ) ;
28+ return {
29+ restrict : 'A' ,
30+ link : function ( $scope ) {
31+ $scope . $watch ( '$ctrl.orderProp' , function ( order ) {
32+ if ( order === 'age' ) {
33+ ariaStatusSort . innerHTML = 'Items filter by newest'
34+ } else {
35+ ariaStatusSort . innerHTML = 'Items filter by alphabetical order'
36+ }
37+
38+ } ) ;
39+ }
3940 }
40- }
41- }
41+ }
4242] ) ;
You can’t perform that action at this time.
0 commit comments