diff --git a/lib/gui/app.js b/lib/gui/app.js index 8a89d0fb..6df6397d 100644 --- a/lib/gui/app.js +++ b/lib/gui/app.js @@ -179,16 +179,6 @@ app.controller('AppController', function( } }); - // We manually add `style="display: none;"` to
- // and unset it here instead of using ngCloak since - // the latter takes effect as soon as the Angular - // library was loaded, but doesn't always mean that - // the application is ready, causing the application - // to be shown in an unitialized state for some milliseconds. - // Here in the controller, we are sure things are - // completely up and running. - document.querySelector('body').style.display = 'initial'; - this.selectImage = function(image) { if (!SupportedFormatsModel.isSupportedImage(image.path)) { AnalyticsService.logEvent('Invalid image', image); diff --git a/lib/gui/index.html b/lib/gui/index.html index 473afb29..cdb8df15 100644 --- a/lib/gui/index.html +++ b/lib/gui/index.html @@ -17,7 +17,7 @@ - +