Refactor
This commit is contained in:
parent
b35379b379
commit
dfd0c2dc93
3 changed files with 11 additions and 13 deletions
|
@ -176,7 +176,6 @@ $(function () {
|
||||||
|
|
||||||
var wishlist_href = window.location.origin + $(event.currentTarget).attr('href');
|
var wishlist_href = window.location.origin + $(event.currentTarget).attr('href');
|
||||||
|
|
||||||
|
|
||||||
navigator.clipboard.writeText(wishlist_href).then(function() {
|
navigator.clipboard.writeText(wishlist_href).then(function() {
|
||||||
$('body').toast({ message: text.toast_clipboard_success });
|
$('body').toast({ message: text.toast_clipboard_success });
|
||||||
}, function() {
|
}, function() {
|
||||||
|
|
|
@ -142,7 +142,6 @@ class Page
|
||||||
'home',
|
'home',
|
||||||
'blog',
|
'blog',
|
||||||
'post',
|
'post',
|
||||||
'install',
|
|
||||||
'login',
|
'login',
|
||||||
'maintenance',
|
'maintenance',
|
||||||
'register',
|
'register',
|
||||||
|
|
Loading…
Reference in a new issue