diff --git a/assets/app/app/analysis/patternmatching/index.js b/assets/app/app/analysis/patternmatching/index.js index bf922443..1e3e5beb 100644 --- a/assets/app/app/analysis/patternmatching/index.js +++ b/assets/app/app/analysis/patternmatching/index.js @@ -997,7 +997,7 @@ angular.module('a2.analysis.patternmatching', [ rois = this.getSelectedRois() } if (rois.length > 50){ - notify.error('Please reduce the number of selected ROIs to 50 or fewer to proceed.'); + notify.error('Please reduce the number of selected ROIs
to 50 or fewer to proceed.'); return; } var roiIds = rois.map(function(roi){ return roi.id; }) diff --git a/assets/app/app/visualizer/audioplayer.js b/assets/app/app/visualizer/audioplayer.js index 63a4ea00..c83c7e62 100644 --- a/assets/app/app/visualizer/audioplayer.js +++ b/assets/app/app/visualizer/audioplayer.js @@ -18,6 +18,9 @@ angular.module('a2.visualizer.audio-player', []) this.isSavingPlaylist = false; this.playlistData = {}; this.clustersData = null; + + $localStorage.setItem('visualizer.is_spectro_colored', this.is_colored); + if(options){ if(options.gain){ this.gain = Math.min(Math.max(1, (options && options.gain)|0), this.gain_levels[this.gain_levels.length-1]);