Skip to content

Commit

Permalink
Do not disable "show statistics"
Browse files Browse the repository at this point in the history
  • Loading branch information
arildm committed Feb 19, 2024
1 parent af67b37 commit b670dc5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
- The "in order" option is inverted, so it is now "in free order" and unchecked by default (but still `in_order` in the URL query param and in the API)
- The checkbox of said option no longer gets disabled in Extended mode

### Removed

- Automatic disabling of the "Show statistics" checkbox

## [9.5.1] - 2024-02-12

### Changed
Expand Down
7 changes: 0 additions & 7 deletions app/scripts/components/searchtabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ export const searchtabsComponent = {
ng-model="$ctrl.showStatistics"
ng-change="$ctrl.showStatisticsChange()"
class="mr-1"
ng-disabled="!$ctrl.inOrder"
/><label for="show_stats">{{'show_stats' | loc:$root.lang}}</label>
</div>
<div ng-show="$ctrl.settings['word_picture'] !== false">
Expand Down Expand Up @@ -107,12 +106,6 @@ export const searchtabsComponent = {
(val) => ($ctrl.isCompareSelected = val === 3)
)

$ctrl.inOrder = true
$rootScope.$watch(
() => $location.search().in_order,
(val) => ($ctrl.inOrder = val == undefined)
)

$ctrl.savedSearches = compareSearches.savedSearches

const setupWatchWordPic = function () {
Expand Down

0 comments on commit b670dc5

Please sign in to comment.