From 66e9baf1629a413ec0001dae57d40189dafe4f2f Mon Sep 17 00:00:00 2001 From: raylu Date: Sat, 6 Aug 2011 04:32:48 -0700 Subject: re-id section, canvas. change listen to local-only --- static/script.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'static') diff --git a/static/script.js b/static/script.js index 354e030..c9d3c40 100644 --- a/static/script.js +++ b/static/script.js @@ -14,7 +14,7 @@ $(document).ready(function () { }); function drawBar(id) { - var canvas = document.getElementById(id); + var canvas = document.getElementById('c_' + id); canvas.height = canvas.height; //clear var context = canvas.getContext("2d"); @@ -151,7 +151,7 @@ function add(id, title) { if (data != 1) return; $('article').append('\ -
\ +
\ \ @@ -161,7 +161,7 @@ function add(id, title) {
\ ' + id + '\
\ - \ + \
\ Play\ Pause\ -- cgit v1.2.3