make jRange behave again

This commit is contained in:
Mario Vavti 2015-04-09 10:53:37 +02:00
parent 4fd80304a5
commit 7e7678364b
3 changed files with 8 additions and 25 deletions

View File

@ -431,7 +431,7 @@ function widget_affinity($arr) {
'$coworkers' => t('Co-workers'), '$coworkers' => t('Co-workers'),
'$oldfriends' => t('Former Friends'), '$oldfriends' => t('Former Friends'),
'$acquaintances' => t('Acquaintances'), '$acquaintances' => t('Acquaintances'),
'$world' => t('Everybody') '$world' => t('All')
)); ));
$arr = array('html' => $x); $arr = array('html' => $x);
call_hooks('main_slider',$arr); call_hooks('main_slider',$arr);
@ -968,4 +968,4 @@ function widget_pubsites() {
if(get_app()->poi) if(get_app()->poi)
return; return;
return '<div class="widget"><ul class="nav nav-pills"><li><a href="pubsites">' . t('Public Hubs') . '</a></li></ul></div>'; return '<div class="widget"><ul class="nav nav-pills"><li><a href="pubsites">' . t('Public Hubs') . '</a></li></ul></div>';
} }

View File

@ -71,7 +71,7 @@
console.log('jRange : no width found, returning'); console.log('jRange : no width found, returning');
return; return;
} else { } else {
this.domNode.css('width', this.options.width || this.inputNode.width()); this.domNode.width(this.options.width || this.inputNode.width());
this.inputNode.hide(); this.inputNode.hide();
} }
@ -332,4 +332,4 @@
return result || this; return result || this;
}; };
})(jQuery, window, document); })(jQuery, window, document);

View File

@ -50,8 +50,10 @@
} }
/* fileas */ /* affinity slider */
#main-slider {
margin: 10px 7px 45px 7px;
}
/* posted date */ /* posted date */
@ -83,21 +85,6 @@ a.group-edit-tool {
li:hover .group-edit-icon { li:hover .group-edit-icon {
opacity: 1; opacity: 1;
} }
/* affinity - slider */
#main-slider {
position: relative;
left: 5px;
width: 90%;
}
.slider {
margin-top: 10px;
margin-bottom: 45px;
}
/* photo albums */
/* Chatrooms */ /* Chatrooms */
@ -112,10 +99,6 @@ li:hover .group-edit-icon {
margin-right: 5px; margin-right: 5px;
} }
.slider-container {
padding: 15px;
}
.rating-text-label { .rating-text-label {
margin-top: 30px; margin-top: 30px;
} }