| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 Copyright 2016 The LUCI Authors. All rights reserved. | 2 Copyright 2016 The LUCI Authors. All rights reserved. |
| 3 Use of this source code is governed under the Apache License, Version 2.0 | 3 Use of this source code is governed under the Apache License, Version 2.0 |
| 4 that can be found in the LICENSE file. | 4 that can be found in the LICENSE file. |
| 5 | 5 |
| 6 This in an HTML Import-able file that contains the definition | 6 This in an HTML Import-able file that contains the definition |
| 7 of the following elements: | 7 of the following elements: |
| 8 | 8 |
| 9 <sort-toggle> | 9 <sort-toggle> |
| 10 | 10 |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 // only one sort-toggle is active at a given time. | 118 // only one sort-toggle is active at a given time. |
| 119 if (this.current && this.current.name === this.name) { | 119 if (this.current && this.current.name === this.name) { |
| 120 this.set("direction", this.current.direction); | 120 this.set("direction", this.current.direction); |
| 121 } else { | 121 } else { |
| 122 this.set("direction", ""); | 122 this.set("direction", ""); |
| 123 } | 123 } |
| 124 }, | 124 }, |
| 125 }); | 125 }); |
| 126 </script> | 126 </script> |
| 127 </dom-module> | 127 </dom-module> |
| OLD | NEW |