diff options
-rw-r--r-- | include/main.js | 15 | ||||
-rw-r--r-- | mod/network.php | 2 |
2 files changed, 16 insertions, 1 deletions
diff --git a/include/main.js b/include/main.js index 8245cef2f..3b6528ee9 100644 --- a/include/main.js +++ b/include/main.js @@ -43,6 +43,7 @@ $.ajaxSetup({cache: false}); msie = $.browser.msie ; NavUpdate(); + sparkler(); // Allow folks to stop the ajax page updates with the pause/break key $(document).keypress(function(event) { if(event.keyCode == '19') { @@ -59,6 +60,20 @@ }); }); + var spark = false; + function sparkler() { + if(spark) { + $('.sparkle').css({cursor: 'pointer'}); + spark = false; + } + else { + $('.sparkle').css({cursor: 'crosshair'}); + spark = true; + } + setTimeout(sparkler,500); + } + + function NavUpdate() { if($('#live-network').length) { src = 'network'; liveUpdate(); } diff --git a/mod/network.php b/mod/network.php index 5bda15d3f..1634a0f06 100644 --- a/mod/network.php +++ b/mod/network.php @@ -252,7 +252,7 @@ function network_content(&$a, $update = 0) { // Can we use our special contact URL for this author? if(strlen($item['author-link'])) { - if($item['author-link'] == $item['url']) { + if($item['author-link'] == $item['url'] && (! $item['self'])) { $profile_link = $redirect_url; $sparkle = ' sparkle'; } |