Clicking on annotation span should scroll to the discussion widget.

This commit is contained in:
Arthur Barrett
2013-02-01 16:08:23 -05:00
parent 8f005a5a1f
commit 0ca7131974
4 changed files with 30 additions and 9 deletions

View File

@@ -26,6 +26,7 @@ class AnnotatableModule(XModule):
}
js_module_name = "Annotatable"
css = {'scss': [resource_string(__name__, 'css/annotatable/display.scss')]}
icon_class = 'annotatable'
def _is_span(self, element):
""" Returns true if the element is a valid annotation span, false otherwise. """