Add JSHint stuff. [skip ci]

This commit is contained in:
James Cole
2015-05-24 18:22:41 +02:00
parent 285b77dcb7
commit 8daccbfbb4
13 changed files with 112 additions and 58 deletions

View File

@@ -28,7 +28,7 @@ $(document).ready(function () {
});
}
if ($('input[name="description"]').length > 0 && what != undefined) {
if ($('input[name="description"]').length > 0 && what !== undefined) {
$.getJSON('json/transaction-journals/' + what).success(function (data) {
$('input[name="description"]').typeahead({source: data});
});