Commit 15e7abe3 authored by Kyle Milka's avatar Kyle Milka Committed by Commit Bot

[NTP] Fix RESIZE_TIMEOUT_DURATION vs RESIZE_TIMEOUT_DELAY

The declaration and reference of the variable used two
different names resulting in a console error, and presumably
incorrect behavior.

Bug: None
Change-Id: I94503c1dfa28b02efaf78f52762554d32672dff5
Reviewed-on: https://chromium-review.googlesource.com/c/1257664Reviewed-by: default avatarKristi Park <kristipark@chromium.org>
Commit-Queue: Kyle Milka <kmilka@chromium.org>
Cr-Commit-Position: refs/heads/master@{#596023}
parent b22906d4
......@@ -995,7 +995,7 @@ var init = function() {
resizeTimeout = window.setTimeout(() => {
resizeTimeout = null;
updateTileVisibility();
}, RESIZE_TIMEOUT_DURATION);
}, RESIZE_TIMEOUT_DELAY);
};
window.addEventListener('message', handlePostMessage);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment