Skip to content

Commit 0b275eb

Browse files
committed
Site- hide table when calling explain
1 parent bd4d1c1 commit 0b275eb

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/_site/controllers.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,11 @@ function updateWithScrollIfNeeded (query) {
216216
$scope.resultsColumns = [];
217217
$scope.resultsRows = [];
218218
$scope.explainLoading = true;
219+
$scope.showResults = false;
220+
tablePresenter.destroy();
221+
$scope.resultExplan = true;
219222
$scope.$apply();
220-
$scope.resultExplan = true;
223+
221224

222225
saveUrl()
223226

src/_site/style.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,12 +167,17 @@ body {
167167

168168
/* Initial state when showing */
169169
.fadein.ng-hide {
170-
opacity: 0;
170+
-webkit-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0s;
171+
-moz-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0s;
172+
-o-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0s;
173+
transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0s;
174+
opacity: 0;
171175
}
172176

173177

174178

175179

180+
176181
/* Loading button animation */
177182
.glyphicon-refresh-animate {
178183
-animation: spin .7s infinite linear;

0 commit comments

Comments
 (0)