aboutsummaryrefslogtreecommitdiff
path: root/web/app/AttributeFormatter.js
diff options
context:
space:
mode:
authorninioe <ninioe@gmail.com>2016-07-20 08:23:40 +0300
committerninioe <ninioe@gmail.com>2016-07-20 08:23:40 +0300
commit19d51272931f92c5c8a139e8aa8f9aa0314f6c61 (patch)
tree7330320e4221f52c7ebf5ee93d94160ba198e829 /web/app/AttributeFormatter.js
parent6d1e5f977b211128757aac4dd2da316211cc6fa5 (diff)
downloadtrackermap-server-19d51272931f92c5c8a139e8aa8f9aa0314f6c61.tar.gz
trackermap-server-19d51272931f92c5c8a139e8aa8f9aa0314f6c61.tar.bz2
trackermap-server-19d51272931f92c5c8a139e8aa8f9aa0314f6c61.zip
jshint & jscs cleanup
Diffstat (limited to 'web/app/AttributeFormatter.js')
-rw-r--r--web/app/AttributeFormatter.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/AttributeFormatter.js b/web/app/AttributeFormatter.js
index e14a9539b..c32849101 100644
--- a/web/app/AttributeFormatter.js
+++ b/web/app/AttributeFormatter.js
@@ -37,7 +37,7 @@ Ext.define('Traccar.AttributeFormatter', {
alarmFormatter: function (attributes) {
var value = '';
if (attributes instanceof Object) {//for Traccar.view.Attributes
- if (attributes.hasOwnProperty('alarm')){
+ if (attributes.hasOwnProperty('alarm')) {
value = attributes.alarm;
if (typeof value === 'boolean') {
value = (value ? Ext.Msg.buttonText.yes : Ext.Msg.buttonText.no);