From cd0de70745972a3a400cf3f15098c267601b905c Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 25 Jul 2016 16:49:53 +1200 Subject: Fix button id typo --- web/app/controller/Root.js | 2 +- web/app/view/Devices.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/app/controller/Root.js b/web/app/controller/Root.js index 7070c48b0..2c565747b 100644 --- a/web/app/controller/Root.js +++ b/web/app/controller/Root.js @@ -100,7 +100,7 @@ Ext.define('Traccar.controller.Root', { }, mutePressed: function () { - var muteButton = Ext.getCmp('nuteButton'); + var muteButton = Ext.getCmp('muteButton'); return muteButton && !muteButton.pressed; }, diff --git a/web/app/view/Devices.js b/web/app/view/Devices.js index da7695229..c086827f8 100644 --- a/web/app/view/Devices.js +++ b/web/app/view/Devices.js @@ -58,7 +58,7 @@ Ext.define('Traccar.view.Devices', { }, { xtype: 'tbfill' },{ - id: 'nuteButton', + id: 'muteButton', glyph: 'xf1f7@FontAwesome', tooltip: Strings.muteButton, tooltipType: 'title', -- cgit v1.2.3