You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ni...@apache.org on 2020/01/18 09:47:40 UTC
[cordova-docs] branch master updated: Fix typerror in plugin search
(#1052)
This is an automated email from the ASF dual-hosted git repository.
niklasmerz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-docs.git
The following commit(s) were added to refs/heads/master by this push:
new 367455c Fix typerror in plugin search (#1052)
367455c is described below
commit 367455c809a07237e59e70ffb1d8dd027f08d411
Author: Niklas Merz <ni...@apache.org>
AuthorDate: Sat Jan 18 10:47:33 2020 +0100
Fix typerror in plugin search (#1052)
"setClipboardText" was renamed to "copyText" in #1032. This fixes two method calls for a new issue #1047.
---
www/static/plugins/plugin.jsx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/www/static/plugins/plugin.jsx b/www/static/plugins/plugin.jsx
index d6cf742..b63dce5 100755
--- a/www/static/plugins/plugin.jsx
+++ b/www/static/plugins/plugin.jsx
@@ -102,13 +102,13 @@ var Plugin = createClass({
)
},
componentDidMount: function() {
- this.setClipboardText();
+ this.copyText();
if(this.props.plugin) {
$(this.getDOMNode()).find(".plugins-copy-to-clipboard").tooltip();
}
},
componentDidUpdate: function() {
- this.setClipboardText();
+ this.copyText();
}
});
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org