Various code cleanup things inspired by Code Climate [skip ci]

This commit is contained in:
James Cole
2015-01-31 08:51:40 +01:00
parent 916d85c3fe
commit dde09f9f89
8 changed files with 33 additions and 104 deletions

View File

@@ -1,6 +1,6 @@
$(document).ready(function () {
if (typeof(googleComboChart) == 'function' && typeof(billID) != 'undefined') {
if (typeof(googleComboChart) === 'function' && typeof(billID) !== 'undefined') {
googleComboChart('chart/bills/' + billID, 'bill-overview');
}
}