Commit 9d2d1942 authored by csillag's avatar csillag

Pick small annotator bugfix from the image work

parent 2920db3e
......@@ -40,7 +40,7 @@ class Highlight
getHeight: -> $(@_getDOMElements()).outerHeight true
# Get the bottom Y offset of the highlight. Override for more control.
getBottom: -> getTop() + getBottom()
getBottom: -> @getTop() + @getBottom()
# Scroll the highlight into view. Override for more control
scrollTo: -> $(@_getDOMElements()).scrollintoview()
......
// Generated by CoffeeScript 1.6.3
/*
** Annotator 1.2.6-dev-e218890
** Annotator 1.2.6-dev-eabb32a
** https://github.com/okfn/annotator/
**
** Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.
** Dual licensed under the MIT and GPLv3 licenses.
** https://github.com/okfn/annotator/blob/master/LICENSE
**
** Built at: 2013-11-22 22:44:56Z
** Built at: 2013-11-26 11:27:27Z
*/
......@@ -895,7 +895,7 @@
};
Highlight.prototype.getBottom = function() {
return getTop() + getBottom();
return this.getTop() + this.getBottom();
};
Highlight.prototype.scrollTo = function() {
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment