Skip to content
Snippets Groups Projects
Commit b73bbca9 authored by Allen Gilliland's avatar Allen Gilliland
Browse files

Merge branch 'mb_the_next_generation' of github.com:metabase/metabase-init...

Merge branch 'mb_the_next_generation' of github.com:metabase/metabase-init into mb_the_next_generation
parents 4fc7234b 5fe2a998
No related branches found
No related tags found
No related merge requests found
......@@ -628,10 +628,11 @@ CardControllers.controller('CardDetail', [
}
};
// when the window is resized we need to re-render, mainly so that our visualization pane updates
angular.element($window).bind('resize', function() {
// When the window is resized we need to re-render, mainly so that our visualization pane updates
// Debounce the function to improve resizing performance.
angular.element($window).bind('resize', _.debounce(function() {
renderAll();
});
}, 400));
$scope.$on('$locationChangeStart', function (event) {
// only ask for a confirmation on unsaved changes if the question is
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment