Removed dead code around FOUC in widgets
Merge pull request #3359 from ussuri/minor-cleanups

Removed dead code around FOUC in widgets