summaryrefslogtreecommitdiffstats
path: root/hyperkitty/static
diff options
context:
space:
mode:
Diffstat (limited to 'hyperkitty/static')
-rw-r--r--hyperkitty/static/hyperkitty/css/hyperkitty-base.css7
-rw-r--r--hyperkitty/static/hyperkitty/js/hyperkitty-userprofile.js5
2 files changed, 10 insertions, 2 deletions
diff --git a/hyperkitty/static/hyperkitty/css/hyperkitty-base.css b/hyperkitty/static/hyperkitty/css/hyperkitty-base.css
index 85f6cc9..418d323 100644
--- a/hyperkitty/static/hyperkitty/css/hyperkitty-base.css
+++ b/hyperkitty/static/hyperkitty/css/hyperkitty-base.css
@@ -38,3 +38,10 @@ ul.nav.auth {
.navbar .breadcrumb > li > .divider {
color: #999999;
}
+
+
+/* Sometimes jQuery UI overwrites the Bootstrap values */
+
+a, .ui-widget-content a {
+ color: #0088cc;
+}
diff --git a/hyperkitty/static/hyperkitty/js/hyperkitty-userprofile.js b/hyperkitty/static/hyperkitty/js/hyperkitty-userprofile.js
index d755f6f..9658bb3 100644
--- a/hyperkitty/static/hyperkitty/js/hyperkitty-userprofile.js
+++ b/hyperkitty/static/hyperkitty/js/hyperkitty-userprofile.js
@@ -23,9 +23,10 @@
/*
* Last viewed threads and votes in the user's profile
*/
-function update_user_profile_part(container, base_url) {
+function update_user_profile_part(container) {
container = $(container);
- var loader = container.prev(".ajaxloader");
+ base_url = container.attr("data-load-from");
+ var loader = container.parent().find(".ajaxloader");
function _update(url) {
loader.show();
$.ajax({