title: __("Share article by URL"),
style: "width: 600px",
newurl: function() {
-
- var ok = confirm(__("Generate new share URL for this article?"));
-
- if (ok) {
+ if (confirm(__("Generate new share URL for this article?"))) {
notify_progress("Trying to change URL...", true);
},
unshare: function() {
-
- var ok = confirm(__("Remove sharing for this article?"));
-
- if (ok) {
+ if (confirm(__("Remove sharing for this article?"))) {
notify_progress("Trying to unshare...", true);