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/16 18:31:12 UTC

[cordova-docs] 01/01: Fix typerror in plugin search

This is an automated email from the ASF dual-hosted git repository.

niklasmerz pushed a commit to branch plugin-search
in repository https://gitbox.apache.org/repos/asf/cordova-docs.git

commit 2e2622fdf70b65bc71020f6103f4723f552ec42b
Author: Niklas Merz <ni...@apache.org>
AuthorDate: Thu Jan 16 19:21:26 2020 +0100

    Fix typerror in plugin search
    
    "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