Added some updates on node_modules and fixed tab width issue in chat

This commit is contained in:
Kasper Rynning-Tønnesen
2015-06-20 17:36:44 +02:00
parent 6a85f43a63
commit dc97a1845b
26 changed files with 1637 additions and 2 deletions

View File

@@ -1067,8 +1067,12 @@ $(document).ready(function(){
$this.append('<div class="indicator"></div>');
var $indicator = $this.find('.indicator');
if ($this.is(":visible")) {
$indicator.css({"right": $tabs_width - (($index + 1) * $tab_width)});
$indicator.css({"left": $index * $tab_width});
setTimeout(function(){
$tabs_width = $this.width();
$tab_width = $this.find('li').first().outerWidth();
$indicator.css({"right": $tabs_width - (($index + 1) * $tab_width)});
$indicator.css({"left": $index * $tab_width});
},50);
}
$(window).resize(function () {
$tabs_width = $this.width();