diff --git a/js/meiview-ui.js b/js/meiview-ui.js index e18749f..79025d7 100644 --- a/js/meiview-ui.js +++ b/js/meiview-ui.js @@ -74,10 +74,13 @@ meiView.UI.appID2appLabel = function(appID) { } meiView.UI.showTitle = function(show) { + if (!meiView.UI.titleDiv) { + meiView.UI.titleDiv = $('#title'); + } if (show) { - $('#title').show(); + $('#titlediv h4').append(meiView.UI.titleDiv); } else { - $('#title').hide(); + meiView.UI.titleDiv.remove();//$('#title').hide(); } } diff --git a/meiView.html b/meiView.html index 67abbde..9448370 100644 --- a/meiView.html +++ b/meiView.html @@ -131,7 +131,7 @@ 0/0 -

Title Comes Here

+

0/0