Browse Source

change(search): opening search dropdown should not take you out of fullscreen view or edit

Torkel Ödegaard 10 năm trước cách đây
mục cha
commit
ad1fa110ff
1 tập tin đã thay đổi với 0 bổ sung4 xóa
  1. 0 4
      public/app/controllers/search.js

+ 0 - 4
public/app/controllers/search.js

@@ -17,10 +17,6 @@ function (angular, _, config) {
       $scope.query = { query: '', tag: [], starred: false };
       $scope.currentSearchId = 0;
 
-      if ($scope.dashboardViewState.fullscreen) {
-        $scope.exitFullscreen();
-      }
-
       $timeout(function() {
         $scope.giveSearchFocus = $scope.giveSearchFocus + 1;
         $scope.query.query = '';