diff --git a/common/lib/xmodule/xmodule/templates/html/zooming_image.yaml b/common/lib/xmodule/xmodule/templates/html/zooming_image.yaml index ea0ad516f9..3ac9d63bcb 100644 --- a/common/lib/xmodule/xmodule/templates/html/zooming_image.yaml +++ b/common/lib/xmodule/xmodule/templates/html/zooming_image.yaml @@ -20,13 +20,6 @@ data: | height: 350, lightbox: false }); - $(document).keydown(function(event) { - if (event.keyCode == 32) { - event.preventDefault(); - $('.loupe img').click(); - } - }); }); // ]]>
- diff --git a/common/lib/xmodule/xmodule/tests/templates/test/zooming_image.yaml b/common/lib/xmodule/xmodule/tests/templates/test/zooming_image.yaml index bba08a0d7a..3ac9d63bcb 100644 --- a/common/lib/xmodule/xmodule/tests/templates/test/zooming_image.yaml +++ b/common/lib/xmodule/xmodule/tests/templates/test/zooming_image.yaml @@ -20,12 +20,6 @@ data: | height: 350, lightbox: false }); - $(document).keydown(function(event) { - if (event.keyCode == 32) { - event.preventDefault(); - $('.loupe img').click(); - } - }); }); // ]]>