Remove 'Loading...' title - redundant with the spinner

Also center the text message.
Change: 139498679
This commit is contained in:
Dan Smilkov 2016-11-17 13:22:32 -08:00 committed by TensorFlower Gardener
parent 815fa1b32d
commit bfe96c9bd8
2 changed files with 4 additions and 2 deletions

View File

@ -34,8 +34,9 @@ export function setDomContainer(domElement: HTMLElement) {
* @param showCloseButton If true, the dialog will have a close button.
* @return The id of the message.
*/
export function setModalMessage(msg: string, id: string = null,
title = 'Loading...', showCloseButton = false): string {
export function setModalMessage(
msg: string, id: string = null, title = null,
showCloseButton = false): string {
if (dom == null) {
console.warn('Can\'t show modal message before the dom is initialized');
return;

View File

@ -145,6 +145,7 @@ limitations under the License.
}
#notify-msgs {
text-align: center;
display: block;
}