Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fontsize : function (main, icon) {
- document.execCommand("fontSize", false, 2);
- toSizeFont = 12;
- if (typeof(main) == 'number') {
- toSizeFont = main;
- }else{
- toSizeFont = $(icon).text();
- };
- jQuery(".h5w-content font[size]").removeAttr("size").css("font-size", toSizeFont+"px");
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement