mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-09 15:35:47 +01:00
share links wont refresh page
This commit is contained in:
@@ -12,12 +12,15 @@
|
|||||||
|
|
||||||
twitterEl.addEventListener('click', function() {
|
twitterEl.addEventListener('click', function() {
|
||||||
window.open(twitter_url, '_blank', 'width=550,height=420,scrollbars=no,status=no');
|
window.open(twitter_url, '_blank', 'width=550,height=420,scrollbars=no,status=no');
|
||||||
|
return false;
|
||||||
}, false);
|
}, false);
|
||||||
facebookEl.addEventListener('click', function() {
|
facebookEl.addEventListener('click', function() {
|
||||||
window.open(facebook_url, '_blank', 'width=626,height=436,scrollbars=no,status=no');
|
window.open(facebook_url, '_blank', 'width=626,height=436,scrollbars=no,status=no');
|
||||||
|
return false;
|
||||||
}, false);
|
}, false);
|
||||||
googleEl.addEventListener('click', function() {
|
googleEl.addEventListener('click', function() {
|
||||||
window.open(google_url, '_blank', 'width=500,height=570,scrollbars=no,status=no');
|
window.open(google_url, '_blank', 'width=500,height=570,scrollbars=no,status=no');
|
||||||
|
return false;
|
||||||
}, false);
|
}, false);
|
||||||
|
|
||||||
var new_post = document.getElementById('new_post');
|
var new_post = document.getElementById('new_post');
|
||||||
|
|||||||
Reference in New Issue
Block a user