projects
/
blerg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a way of seeing other users' chatter
[blerg.git]
/
www
/
js
/
blerg.js
diff --git
a/www/js/blerg.js
b/www/js/blerg.js
index
96f6cb2
..
1f413ad
100644
(file)
--- a/
www/js/blerg.js
+++ b/
www/js/blerg.js
@@
-208,6
+208,10
@@
User.prototype.show = function() {
items.show();
$('rss').show();
$('rsslink').href = '/rss/' + this.username;
items.show();
$('rss').show();
$('rsslink').href = '/rss/' + this.username;
+ $$('[name=user.reflink]').each(function(e) {
+ e.href = '/#ref/' + this.username;
+ }.bind(this));
+ $('usercontrols').show();
}
User.prototype.loadItems = function(from, to) {
}
User.prototype.loadItems = function(from, to) {
@@
-332,6
+336,7
@@
Tag.prototype.show = function() {
$('newer_link').hide();
$('rss').hide();
items.show();
$('newer_link').hide();
$('rss').hide();
items.show();
+ $('usercontrols').hide();
}
function postPopup() {
}
function postPopup() {
@@
-517,6
+522,7
@@
function hashSwitch() {
$('older_link').hide();
$('welcome').show();
$('rss').hide();
$('older_link').hide();
$('welcome').show();
$('rss').hide();
+ $('usercontrols').hide();
loadLatest();
}
}
loadLatest();
}
}