2
0
mirror of https://github.com/offen/website.git synced 2024-12-24 13:50:22 +01:00

Merge pull request #122 from offen/development

Remove click to copy until fixed
This commit is contained in:
Frederik Ring 2020-09-27 21:27:19 +02:00 committed by GitHub
commit 410815e6c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 13 deletions

View File

@ -1,3 +0,0 @@
$(document).ready(function () {
var clipboard = new ClipboardJS('.js-click-to-copy')
})

File diff suppressed because one or more lines are too long

View File

@ -239,7 +239,7 @@
</footer>
</div>
{% block scripts %}
{% assets filters="rjsmin", output="scripts/packed.js", "scripts/jquery-3.4.1.min.js", "scripts/menu.js", "scripts/fade.js", "scripts/clipboard.min.js", "scripts/click-to-copy.js" %}
{% assets filters="rjsmin", output="scripts/packed.js", "scripts/jquery-3.4.1.min.js", "scripts/menu.js", "scripts/fade.js" %}
<script src="/{{ ASSET_URL }}"></script>
{% endassets %}
{% endblock %}

View File

@ -19,7 +19,7 @@
</p>
<div class="flex flex-column items-center">
<div class="w-100 ph4 pv5 mb5 bg-light-gray">
<code class="ma0 lh-solid word-wrap js-click-to-copy pointer" data-clipboard-text="curl https://demo.offen.dev | bash" title="Click to copy">
<code class="ma0 lh-solid word-wrap" data-clipboard-text="curl https://demo.offen.dev | bash" title="Click to copy">
curl https://demo.offen.dev | bash
</code>
</div>
@ -30,7 +30,7 @@
</p>
<div class="flex flex-column items-center">
<div class="w-100 ph4 pv5 mb5 bg-light-gray">
<code class="ma0 lh-solid word-wrap js-click-to-copy pointer" data-clipboard-text="docker run --rm -it -p 9876:9876 offen/offen:latest demo -port 9876" title="Click to copy">
<code class="ma0 lh-solid word-wrap" data-clipboard-text="docker run --rm -it -p 9876:9876 offen/offen:latest demo -port 9876" title="Click to copy">
docker run --rm -it -p 9876:9876 offen/offen:latest demo -port 9876
</code>
</div>