Commit ee1ae830 authored by Randall Leeds's avatar Randall Leeds

No angular outside the iframe

I had foolishly added an angular.noop and then @gergely-ujvari did
the same, but that doesn't work because angular isn't guaranteed
to be loaded outside our sidebar.
parent 76c3d2f5
......@@ -246,9 +246,9 @@ class Annotator.Guest extends Annotator
method: "showEditor"
params: annotation.$$tag
onAnchorMouseover: angular.noop
onAnchorMouseout: angular.noop
onAnchorMousedown: angular.noop
onAnchorMouseover: ->
onAnchorMouseout: ->
onAnchorMousedown: ->
checkForStartSelection: (event) =>
# Override to prevent Annotator choking when this ties to access the
......@@ -331,7 +331,7 @@ class Annotator.Guest extends Annotator
method: 'addToken'
params: token
onAdderMousedown: angular.noop
onAdderMousedown: ->
onAdderClick: (event) =>
event.preventDefault()
......
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