[sushi] utils: don't use a non esistent variable
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sushi] utils: don't use a non esistent variable
- Date: Thu, 29 Sep 2011 23:19:41 +0000 (UTC)
commit a5718f22d8c2e3177cdd215ac0fa2ed4b5554ec3
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Sep 29 19:14:07 2011 -0400
utils: don't use a non esistent variable
src/js/ui/utils.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/js/ui/utils.js b/src/js/ui/utils.js
index d4deec6..8000327 100644
--- a/src/js/ui/utils.js
+++ b/src/js/ui/utils.js
@@ -134,7 +134,7 @@ function formatTimeString(timeVal) {
let str = ("%02d:%02d").format(minutes, seconds);
if (hours > 0) {
- current = ("%d").format(hours) + ":" + current;
+ str = ("%d").format(hours) + ":" + str;
}
return str;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]