Merge pull request #138 from cvium/remove_leftover_customize_home

Remove left-over JS for Customize Home Screen
This commit is contained in:
Vasily 2019-02-16 03:20:20 +03:00 committed by GitHub
commit b4842e325e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,9 +111,7 @@ define(['connectionManager', 'cardBuilder', 'registrationServices', 'appSettings
promises.push(elems[i].resume(options));
}
var promise = Promise.all(promises).then(function () {
elem.querySelector('.customizeSection').classList.remove('hide');
});
var promise = Promise.all(promises);
if (!options || options.returnPromise !== false) {
return promise;