Skip to content

Commit f2f0346

Browse files
author
Ubuntu
committed
2 parents 7b45004 + 4b14079 commit f2f0346

File tree

1 file changed

+1
-1
lines changed
  • stableweb/public/js/controllers

1 file changed

+1
-1
lines changed

stableweb/public/js/controllers/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ function Test($rootScope, $scope, $http) {
155155
socket.on('eraseAll', function() {
156156
var time = (new Date).getTime();
157157
cachedBoards[time] = cloneCanvas(canvas).toDataURL();
158-
cachedBoardIds.push(time);
158+
$scope.cachedBoardIds.push(time);
159159
eraseAll();
160160
});
161161
socket.on('draw', function(data) {

0 commit comments

Comments
 (0)