Skip to content

Commit

Permalink
v1.1 Added HTML5 Local Storage support and bug fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
dsternlicht committed Jan 29, 2012
1 parent 68bf0c1 commit 5d5890a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions jquery.yourhere.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,7 @@

// Click event on an element
box.children($.yourhere.opts.supportedElements).click(function(e){
<<<<<<< HEAD
var lineHeight = parseFloat($(this).css('lineHeight')) > parseFloat($(this).css('fontSize')) ? parseFloat($(this).css('lineHeight')) : parseFloat($(this).css('fontSize'));
=======
var lineHeight = $(this).css('lineHeight').replace('px', '') > $(this).css('fontSize').replace('px', '') ? $(this).css('lineHeight').replace('px', '') : $(this).css('fontSize').replace('px', '');
>>>>>>> f3cf4a71cbfee6040b544fdd1c47c6bf795f2cb9
var elmOffset = $(this).offset().top;
var z = e.pageY - elmOffset;
var e = Math.floor(z / lineHeight);
Expand Down

0 comments on commit 5d5890a

Please sign in to comment.