diff --git a/src/canvas.js b/src/canvas.js index 2d1130b4f..50c762bca 100644 --- a/src/canvas.js +++ b/src/canvas.js @@ -361,7 +361,7 @@ var CanvasGraphics = (function CanvasGraphicsClosure() { textLayerQueue.splice(i, 1); } if (textLayerQueue.length == 0) - clearInterval(this.textLayerTimer); + clearInterval(self.textLayerTimer); }, 1); },