font size tweak

This commit is contained in:
Sanj 2011-09-28 19:54:14 +05:30
parent 75b0d7d774
commit 2245eed1dd

View File

@ -241,10 +241,12 @@ jQuery.fn.formatTitle = function() {
var txt = $(this).text(); var txt = $(this).text();
var fontSize; var fontSize;
// alert(txt.length); // alert(txt.length);
if (txt.length < 35) { if (txt.length < 36) {
fontSize = 50; fontSize = 50;
} else if (txt.length < 60) { } else if (txt.length < 60) {
fontSize = 35; fontSize = 40;
} else if (txt.length < 100) {
fontSize = 30;
} else { } else {
fontSize = 20; fontSize = 20;
} }