Fixed up UI changes when model is edited

This commit is contained in:
Mark McDowall
2012-12-10 22:45:52 -08:00
parent d481000001
commit 8be47a128c
3 changed files with 30 additions and 16 deletions

View File

@@ -15,6 +15,13 @@
};
})(jQuery);
function createGuid() {
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8);
return v.toString(16);
});
}
$(document).ready(function () {
while($('#logo span').height() > $('#logo').height()) {
$('#logo span').css('font-size', (parseInt($('#logo span').css('font-size')) - 1) + "px" );