From 6e9b0b4d10041d188fb4364b852ccb945f61e85c Mon Sep 17 00:00:00 2001 From: kPherox Date: Tue, 19 Mar 2019 22:07:49 +0900 Subject: [PATCH] Fix template {hz} --- app/js/ui/spotify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/js/ui/spotify.js b/app/js/ui/spotify.js index 646e6e4a..3e388659 100644 --- a/app/js/ui/spotify.js +++ b/app/js/ui/spotify.js @@ -151,11 +151,11 @@ function nowplaying(mode){ var regExp = new RegExp("{composer}", "g"); content = content.replace(regExp, arg.composer); var regExp = new RegExp("{hz}", "g"); + content = content.replace(regExp, arg.sampleRate/1000+"kHz"); var regExp = new RegExp("{lyricist}", "g"); content = content.replace(regExp, ""); var regExp = new RegExp("{bpm}", "g"); content = content.replace(regExp, ""); - content = content.replace(regExp, arg.sampleRate/1000+"kHz"); var regExp = new RegExp("{bitRate}", "g"); content = content.replace(regExp, arg.bitRate+"kbps"); var regExp = new RegExp("{genre}", "g");