daily pastebin goal
9%
SHARE
TWEET

Untitled

a guest Aug 12th, 2017 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     obj.find('.text-display').each(function() {
  2.         var fontSize = displayHeight / (originalHeight / parseInt($(this).find('.page-text').css('fontSize')));
  3.         console.log(fontSize);
  4.         $(this).find('.page-text').css('fontSize', fontSize);
  5.         console.log($(this).find('.page-text'));
  6.     });
RAW Paste Data
Top