浏览代码

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

Torkel Ödegaard 10 年之前
父节点
当前提交
ad1fa110ff
共有 1 个文件被更改,包括 0 次插入4 次删除
  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 = '';