From e314e879da64d83fba2a5f6e10aaa1a52c8aa885 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Sat, 9 Jul 2022 04:49:53 +0200 Subject: [PATCH] Fix broken copy (#3314) * update clipboard version * attach clipboard to about model * make definition simpler * make version text copyable --- InvenTree/InvenTree/static/script/clipboard.min.js | 4 ++-- InvenTree/InvenTree/static/script/inventree/inventree.js | 6 ++++-- InvenTree/templates/about.html | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/InvenTree/InvenTree/static/script/clipboard.min.js b/InvenTree/InvenTree/static/script/clipboard.min.js index 95f55d7b0c..1103f811ed 100644 --- a/InvenTree/InvenTree/static/script/clipboard.min.js +++ b/InvenTree/InvenTree/static/script/clipboard.min.js @@ -1,7 +1,7 @@ /*! - * clipboard.js v2.0.8 + * clipboard.js v2.0.11 * https://clipboardjs.com/ * * Licensed MIT © Zeno Rocha */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ClipboardJS=e():t.ClipboardJS=e()}(this,function(){return n={134:function(t,e,n){"use strict";n.d(e,{default:function(){return r}});var e=n(279),i=n.n(e),e=n(370),a=n.n(e),e=n(817),o=n.n(e);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){for(var n=0;n - +