Skip to content

Commit

Permalink
0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
changwoo committed Aug 29, 2024
1 parent 24d822c commit 167395b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
0.5.1
-----
2024-08-30

- Fix clipboard alert message.


0.5.0
-----
2024-08-30
Expand Down
4 changes: 2 additions & 2 deletions assets/js/front.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
if (s.permalink && s.permalink.length) {
if ('undefined' !== typeof navigator.clipboard) {
navigator.clipboard.writeText(s.permalink).then(function () {
alert(opts.textCopiedToClipboard + ' new');
alert(opts.textCopiedToClipboard);
}, function (err) {
console.error(opts.textClipboardApiError, err);
});
Expand All @@ -53,7 +53,7 @@
input.setSelectionRange(0, s.permalink.length);
document.execCommand('copy');
input.remove();
alert(opts.textCopiedToClipboard + ' old');
alert(opts.textCopiedToClipboard);
}
} else {
console.log(opts.textPermalinkIsEmpty);
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"php": "^7.4",
"ext-json": "*"
},
"version": "0.5.0",
"version": "0.5.1",
"require-dev": {
"phpunit/phpunit": "^7"
},
Expand Down
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Naran Social Share
* Plugin URI: https://github.com/chwnam/naran-social-share
* Description: Share your posts to social media, and so on.
* Version: 0.5.0
* Version: 0.5.1
* Requires at least: 4.4.0
* Requires PHP: 7.4
* Author: changwoo
Expand All @@ -23,7 +23,7 @@
require_once __DIR__ . '/vendor/autoload.php';

const NSS_MAIN_FILE = __FILE__;
const NSS_VERSION = '0.5.0';
const NSS_VERSION = '0.5.1';
const NSS_PRIORITY = 885;

nss();

0 comments on commit 167395b

Please sign in to comment.