diff options
author | ninioe <ninioe@gmail.com> | 2016-07-20 08:23:40 +0300 |
---|---|---|
committer | ninioe <ninioe@gmail.com> | 2016-07-20 08:23:40 +0300 |
commit | 19d51272931f92c5c8a139e8aa8f9aa0314f6c61 (patch) | |
tree | 7330320e4221f52c7ebf5ee93d94160ba198e829 /web/app/view/Devices.js | |
parent | 6d1e5f977b211128757aac4dd2da316211cc6fa5 (diff) | |
download | trackermap-server-19d51272931f92c5c8a139e8aa8f9aa0314f6c61.tar.gz trackermap-server-19d51272931f92c5c8a139e8aa8f9aa0314f6c61.tar.bz2 trackermap-server-19d51272931f92c5c8a139e8aa8f9aa0314f6c61.zip |
jshint & jscs cleanup
Diffstat (limited to 'web/app/view/Devices.js')
-rw-r--r-- | web/app/view/Devices.js | 11 |
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', |