1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-04-21 15:15:48 +02:00

Remove getFontSizeClass from code.js

This commit is contained in:
chylex 2016-04-24 14:19:20 +02:00
parent b94a6acee6
commit acc9b58660

View File

@ -142,19 +142,6 @@
$TD.onTweetPopup(html.html(),characters); // TODO column & remove pic links from text()
};
//
// Function: Retrieves the font size using <html> class attribute.
//
var getFontSizeClass = function(){
for(var index = 0; index < fontSizeClasses.length; index++){
if (document.documentElement.classList.contains(fontSizeClasses[index])){
return fontSizeClasses[index];
}
}
return fontSizeClasses[0];
};
//
// Function: Retrieves the tags to be put into <head> for notification HTML code.
//