Skip to content
Permalink
Browse files
Remove ZeroClipboard.swf from docs
Substitute with CDN-hosted version. Tested on a https-hosted location to
ensure correct behaviour on an environment like our live website.
  • Loading branch information
rdowner committed Dec 8, 2014
1 parent e3e977f commit 31c2568d555d25d63844af655a9d193a783806d1
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 1,021 deletions.
@@ -41,7 +41,7 @@


<!-- Clipboard support -->
<script src="{{ site.url }}/style/js/zeroclipboard/ZeroClipboard.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/zeroclipboard/1.3.1/ZeroClipboard.min.js"></script>
<style type="text/css">
.clipboard_container { float: right; padding: 8px; }
.clipboard_button {
@@ -53,7 +53,7 @@
.clipboard_button:active, .clipboard_button.zeroclipboard-is-active { background-image: url("{{ site.url }}/style/icons/clipboard-green-click.png"); }'
</style>
<script type="text/javascript"> <!-- clipboard -->
ZeroClipboard.config({ moviePath: '{{ site.url }}/style/js/zeroclipboard/ZeroClipboard.swf' });
ZeroClipboard.config({ moviePath: '//cdnjs.cloudflare.com/ajax/libs/zeroclipboard/1.3.1/ZeroClipboard.swf' });
</script>
<script type="text/javascript"> <!-- clipboard positioning -->
$(document).ready(function() {

0 comments on commit 31c2568

Please sign in to comment.