jspenguin2017 2018-01-05 14:52:04 -07:00 committed by Raymond Hill
parent 7cd8185f3a
commit 178b82eb6a
No known key found for this signature in database
GPG key ID: 25E1490B761470C2

View file

@ -188,8 +188,6 @@ var onInitialize = function(options) {
}
self.cloud.options = options;
fetchCloudData();
var xhr = new XMLHttpRequest();
xhr.open('GET', 'cloud-ui.html', true);
xhr.overrideMimeType('text/html;charset=utf-8');
@ -214,6 +212,10 @@ var onInitialize = function(options) {
uDom('#cloudCog').on('click', openOptions);
uDom('#cloudOptions').on('click', closeOptions);
uDom('#cloudOptionsSubmit').on('click', submitOptions);
// Patch 2018-01-05: Must not assume this XHR will always be faster
// than messaging
fetchCloudData();
};
xhr.send();
};