aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-04-09 10:53:37 +0200
committerMario Vavti <mario@mariovavti.com>2015-04-09 10:53:37 +0200
commit7e7678364b9e89337612d7879e7f5cbb0792b35b (patch)
tree6ed6d4fe0b7910decf28afccda2e17f02d2d5623
parent4fd80304a55d7edb1a558ff1fdcbff795fa12302 (diff)
downloadvolse-hubzilla-7e7678364b9e89337612d7879e7f5cbb0792b35b.tar.gz
volse-hubzilla-7e7678364b9e89337612d7879e7f5cbb0792b35b.tar.bz2
volse-hubzilla-7e7678364b9e89337612d7879e7f5cbb0792b35b.zip
make jRange behave again
-rw-r--r--include/widgets.php4
-rw-r--r--library/jRange/jquery.range.js4
-rw-r--r--view/css/widgets.css25
3 files changed, 8 insertions, 25 deletions
diff --git a/include/widgets.php b/include/widgets.php
index 243c4a25e..e84c029d2 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -431,7 +431,7 @@ function widget_affinity($arr) {
'$coworkers' => t('Co-workers'),
'$oldfriends' => t('Former Friends'),
'$acquaintances' => t('Acquaintances'),
- '$world' => t('Everybody')
+ '$world' => t('All')
));
$arr = array('html' => $x);
call_hooks('main_slider',$arr);
@@ -968,4 +968,4 @@ function widget_pubsites() {
if(get_app()->poi)
return;
return '<div class="widget"><ul class="nav nav-pills"><li><a href="pubsites">' . t('Public Hubs') . '</a></li></ul></div>';
-} \ No newline at end of file
+}
diff --git a/library/jRange/jquery.range.js b/library/jRange/jquery.range.js
index 4a35a380f..860b74511 100644
--- a/library/jRange/jquery.range.js
+++ b/library/jRange/jquery.range.js
@@ -71,7 +71,7 @@
console.log('jRange : no width found, returning');
return;
} else {
- this.domNode.css('width', this.options.width || this.inputNode.width());
+ this.domNode.width(this.options.width || this.inputNode.width());
this.inputNode.hide();
}
@@ -332,4 +332,4 @@
return result || this;
};
-})(jQuery, window, document); \ No newline at end of file
+})(jQuery, window, document);
diff --git a/view/css/widgets.css b/view/css/widgets.css
index 43d132276..8f31a3603 100644
--- a/view/css/widgets.css
+++ b/view/css/widgets.css
@@ -50,8 +50,10 @@
}
-/* fileas */
-
+/* affinity slider */
+#main-slider {
+ margin: 10px 7px 45px 7px;
+}
/* posted date */
@@ -83,21 +85,6 @@ a.group-edit-tool {
li:hover .group-edit-icon {
opacity: 1;
}
-/* affinity - slider */
-
-#main-slider {
- position: relative;
- left: 5px;
- width: 90%;
-}
-
-.slider {
- margin-top: 10px;
- margin-bottom: 45px;
-}
-
-/* photo albums */
-
/* Chatrooms */
@@ -112,10 +99,6 @@ li:hover .group-edit-icon {
margin-right: 5px;
}
-.slider-container {
- padding: 15px;
-}
-
.rating-text-label {
margin-top: 30px;
}