Merge branch 'feature/victor/annotation-input' into feature/abarrett/annotatable_xmodule
This commit is contained in:
11
common/static/js/capa/annotationinput.js
Normal file
11
common/static/js/capa/annotationinput.js
Normal file
@@ -0,0 +1,11 @@
|
||||
(function () {
|
||||
var update = function() {
|
||||
alert("o hi");
|
||||
};
|
||||
|
||||
var inputs = $('.annotation-input input');
|
||||
// update on load
|
||||
inputs.each(update);
|
||||
// and on every change
|
||||
inputs.bind("input", update);
|
||||
}).call(this);
|
||||
Reference in New Issue
Block a user