Standardize code presentation

Fix indentation (4 spaces, no tabs)
Fix indentation in CSS
Fix comment position in CSS file
l-merge-prefix
David Cormier 12 years ago
parent 8e44757e61
commit 51cde96bf6
  1. 3
      css/glowingbear.css
  2. 9
      js/glowingbear.js

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

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

Loading…
Cancel
Save