Standardize code presentation

Fix indentation (4 spaces, no tabs)
Fix indentation in CSS
Fix comment position in CSS file
This commit is contained in:
David Cormier 2014-02-19 10:16:37 -05:00
parent 8e44757e61
commit 51cde96bf6
2 changed files with 37 additions and 39 deletions

View file

@ -363,8 +363,7 @@ table.notimestamp td.time {
} }
#bufferlines { #bufferlines {
padding-bottom: 38px; padding-bottom: 38px; /* navbar fixed bottom */;
/* navbar fixed bottom */;
} }
.navbar-fixed-bottom { .navbar-fixed-bottom {

View file

@ -620,17 +620,16 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
$scope.noembed = true; $scope.noembed = true;
$scope.notimestamp = true; $scope.notimestamp = true;
} }
// Open and close panels while on mobile devices through swiping // Open and close panels while on mobile devices through swiping
$scope.swipeSidebar = function() { $scope.swipeSidebar = function() {
if (document.body.clientWidth < mobile_cutoff) {
if (document.body.clientWidth < 968) {
$('#sidebar').collapse('toggle'); $('#sidebar').collapse('toggle');
} }
}; };
$scope.openNick = function() { $scope.openNick = function() {
if (document.body.clientWidth < 968) { if (document.body.clientWidth < mobile_cutoff) {
if($scope.nonicklist) { if($scope.nonicklist) {
$scope.nonicklist = false; $scope.nonicklist = false;
} }
@ -638,7 +637,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
}; };
$scope.closeNick = function() { $scope.closeNick = function() {
if (document.body.clientWidth < 968) { if (document.body.clientWidth < mobile_cutoff) {
if(!$scope.nonicklist) { if(!$scope.nonicklist) {
$scope.nonicklist = true; $scope.nonicklist = true;
} }