diff options
author | 2016-11-17 13:22:32 -0800 | |
---|---|---|
committer | 2016-11-17 13:41:53 -0800 | |
commit | bfe96c9bd8c88d3441f95f6d4d7c0ab4672e4682 (patch) | |
tree | 197c1a4218353e50336efcbf1970813c89e4a549 | |
parent | 815fa1b32ded0d351689177dca65485afc0f7dcf (diff) |
Remove 'Loading...' title - redundant with the spinner
Also center the text message.
Change: 139498679
-rw-r--r-- | tensorflow/tensorboard/components/vz_projector/logging.ts | 5 | ||||
-rw-r--r-- | tensorflow/tensorboard/components/vz_projector/vz-projector.html | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tensorflow/tensorboard/components/vz_projector/logging.ts b/tensorflow/tensorboard/components/vz_projector/logging.ts index e9286c070b..5ca2ef482a 100644 --- a/tensorflow/tensorboard/components/vz_projector/logging.ts +++ b/tensorflow/tensorboard/components/vz_projector/logging.ts @@ -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; diff --git a/tensorflow/tensorboard/components/vz_projector/vz-projector.html b/tensorflow/tensorboard/components/vz_projector/vz-projector.html index ee9b164a6e..eff2a2e133 100644 --- a/tensorflow/tensorboard/components/vz_projector/vz-projector.html +++ b/tensorflow/tensorboard/components/vz_projector/vz-projector.html @@ -145,6 +145,7 @@ limitations under the License. } #notify-msgs { + text-align: center; display: block; } |