Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: includes/press/media.md

Issue 4604133839470592: Download press images instead of displaying them with Lightbox (Closed)
Patch Set: Created Feb. 11, 2014, 5 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: includes/press/media.md
===================================================================
--- a/includes/press/media.md
+++ b/includes/press/media.md
@@ -22,17 +22,6 @@
* Use our logos with content that denigrates us or soils our reputation.
* Use our logos in a way that is deceptive, offensive or objectionable to the average person.
-<script src="/js/jquery.lightbox.min.js"></script>
-<link rel="stylesheet" href="/css/jquery.lightbox.css" type="text/css" media="screen">
<script>
- jQuery(function()
- {
- jQuery("#media a").lightBox({
- imageBtnPrev: "/images/lightbox/btn-prev.gif",
- imageBtnNext: "/images/lightbox/btn-next.gif",
- imageBtnClose: "/images/lightbox/btn-close.gif",
- imageLoading: "/images/lightbox/ico-loading.gif",
- imageBlank: "/images/lightbox/blank.gif"
- });
- });
+ jQuery("#media a").attr("download", "");
</script>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld