aboutsummaryrefslogtreecommitdiff
path: root/web/app/view
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/view
parent6d1e5f977b211128757aac4dd2da316211cc6fa5 (diff)
downloadtraccar-server-19d51272931f92c5c8a139e8aa8f9aa0314f6c61.tar.gz
traccar-server-19d51272931f92c5c8a139e8aa8f9aa0314f6c61.tar.bz2
traccar-server-19d51272931f92c5c8a139e8aa8f9aa0314f6c61.zip
jshint & jscs cleanup
Diffstat (limited to 'web/app/view')
-rw-r--r--web/app/view/Devices.js11
1 files changed, 5 insertions, 6 deletions
diff --git a/web/app/view/Devices.js b/web/app/view/Devices.js
index 77d796b1e..31d22ed2a 100644
--- a/web/app/view/Devices.js
+++ b/web/app/view/Devices.js
@@ -64,16 +64,15 @@ Ext.define('Traccar.view.Devices', {
tooltipType: 'title',
pressed : true,
enableToggle: true,
- listeners:{
- toggle: function(button, pressed){
- if(pressed){
+ listeners: {
+ toggle: function (button, pressed) {
+ if (pressed) {
button.setGlyph('xf0a2@FontAwesome');
- }
- else {
+ } else {
button.setGlyph('xf1f7@FontAwesome');
}
},
- scope:this
+ scope: this
}
}, {
id: 'deviceFollowButton',