Console error on playing allert sound and moving to a new tab before its finished
Closed this issue · 1 comments
kiaka010 commented
Steps to reproduce: (console log needs to be open the whole time)
- to go watch tab
- open preferences
- select a sound alert (if one is already selected then the play button is not there. maybe a bug) (big ben goes on a while so might be the best option
- in quick succession. Press Play -> save/close preferences -> to to another tab
- notice error in console log
Error:
Uncaught TypeError: this.ui.soundSelect.val is not a functionViews.Preferences.Marionette.LayoutView.extend.toggleSound @ app.js:607
Entities.Sound.Backbone.Model.extend.play.soundManager.play.onfinish @ app.js:1580
(anonymous function) @ lib.js:36101
wrapCallback @ lib.js:3639
0oOptions._onfinish @ lib.js:36100
(anonymous function) @ lib.js:36734
(anonymous function) @ lib.js:36633
might not be anything serious
madewithsalt commented
Haha thats a good one, gratefully super-easy to fix.