summaryrefslogtreecommitdiff
path: root/src/static/js
diff options
context:
space:
mode:
authorgoldquest <tjwelde@gmail.com>2013-04-17 16:51:54 +0200
committergoldquest <tjwelde@gmail.com>2013-04-17 16:51:54 +0200
commit896f72311fa0a833a537ae3e70c3f8ab39ac407e (patch)
treea0bf1ee1630e73cb5401c3f50df21da9c6a369b8 /src/static/js
parent566034ddf0d3ede031389b58253939967a170343 (diff)
downloadetherpad-lite-896f72311fa0a833a537ae3e70c3f8ab39ac407e.zip
use document, not doc
Diffstat (limited to 'src/static/js')
-rw-r--r--src/static/js/pad.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/js/pad.js b/src/static/js/pad.js
index 504bc21e..9a42bccc 100644
--- a/src/static/js/pad.js
+++ b/src/static/js/pad.js
@@ -463,7 +463,7 @@ var pad = {
{
try
{
- doc.execCommand("BackgroundImageCache", false, true);
+ document.execCommand("BackgroundImageCache", false, true);
}
catch (e)
{}