From 6ceb03cce40e5183b2bb5e93c0cb4b5d39992e94 Mon Sep 17 00:00:00 2001
From: Ugnich Anton
Date: Tue, 1 Jul 2014 17:33:00 +0700
Subject: Share new post
---
web/scripts3.js | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
(limited to 'web/scripts3.js')
diff --git a/web/scripts3.js b/web/scripts3.js
index 7651ab38..e0a39fa4 100644
--- a/web/scripts3.js
+++ b/web/scripts3.js
@@ -174,10 +174,10 @@ function showMessageLinksDialog(mid,rid) {
html+="Номер сообщения:";
html+="
"+mlink+"
";
html+="Поделиться:";
- html+=" ";
- html+=" ";
- html+=" ";
- html+=" ";
+ html+=" ";
+ html+=" ";
+ html+=" ";
+ html+=" ";
html+="
";
openDialog(html);
@@ -211,9 +211,10 @@ function closeDialog() {
$('#dialogt').remove();
}
-function openSocialWindow(url) {
- var w=window.open(url,'juickshare','width=640,height=400');
+function openSocialWindow(a) {
+ var w=window.open(a.href,'juickshare','width=640,height=400');
if(window.focus) w.focus();
+ return false;
}
function checkUsername() {
--
cgit v1.2.3