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
commit 51cde96bf6
2 changed files with 37 additions and 39 deletions

View file

@ -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;
}