From 9f0114eb390b039826018bd1abb0c3ce759dbb6f Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Thu, 3 Dec 2015 13:27:59 -0800 Subject: [PATCH] [Performance] Don't invoke apply from MCTSplitPane Don't invoke apply on every from MCTSplitPane (this had been intended behavior, but argument was misplaced.) --- platform/commonUI/general/src/directives/MCTSplitPane.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/commonUI/general/src/directives/MCTSplitPane.js b/platform/commonUI/general/src/directives/MCTSplitPane.js index 9abc641ebd..b094ba785f 100644 --- a/platform/commonUI/general/src/directives/MCTSplitPane.js +++ b/platform/commonUI/general/src/directives/MCTSplitPane.js @@ -204,7 +204,7 @@ define( // And poll for position changes enforced by styles activeInterval = $interval(function () { getSetPosition(getSetPosition()); - }, POLLING_INTERVAL, false); + }, POLLING_INTERVAL, 0, false); // ...and stop polling when we're destroyed. $scope.$on('$destroy', function () {