Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
a6a75af4
Commit
a6a75af4
authored
Jul 24, 2014
by
Giulio Gratta
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #85 from Stanford-Online/stv/image-modal-bugfix
Specify MIME type when adding SCRIPT tag
parents
180e3af7
c57a58e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
common/lib/xmodule/xmodule/templates/html/image_modal.yaml
+5
-1
No files found.
common/lib/xmodule/xmodule/templates/html/image_modal.yaml
View file @
a6a75af4
...
...
@@ -5,4 +5,8 @@ data: |
<h2>Full Screen Image</h2>
<p>Use the full screen image tool to allow students to open the image in the full screen, zoom in on the image, and drag the image within the screen.</p>
<a href="http://static.class.stanford.edu/stanford-hills-big.jpg" class="modal-content"><img alt="The Stanford Hills" src="http://static.class.stanford.edu/stanford-hills-small.jpg" /></a>
<script>$(function () {setupFullScreenImage();});</script>
<script type="text/javascript">
$(function () {
setupFullScreenImage();
});
</script>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment