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. * @param showCloseButton If true, the dialog will have a close button.
* @return The id of the message. * @return The id of the message.
*/ */
export function setModalMessage(msg: string, id: string = null, export function setModalMessage(
title = 'Loading...', showCloseButton = false): string { msg: string, id: string = null, title = null,
showCloseButton = false): string {
if (dom == null) { if (dom == null) {
console.warn('Can\'t show modal message before the dom is initialized'); console.warn('Can\'t show modal message before the dom is initialized');
return; return;

View File

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