mduvall/grande.js — pull request #73 by toemat (2014-06-12 22:36:04+00:00)
Title: Added event param to getHorizontalBounds

Firefox (v30) errors on getHorizontalBounds() because **event** is out of scope. This occurs when **allowImages** is enabled, and causes the Insert Image tool tip to not work.

Request to add **event** to the parameters of getHorizontalBounds()!

Btw, can someone explain why in chrome **event** is *not* undefined at
*coordY = event.pageY - root.scrollY;*
(line 206 in getHorizontalBounds())? Is it just being generous with the scope, or is it supposed to work like that?