Commit 2770a7a7 authored by Alexander.Trofimov's avatar Alexander.Trofimov

refactoring check watermark_on_draw

parent 6afa1174
......@@ -167,8 +167,8 @@
this.signatures = [];
//config['watermark_on_draw'] = window.TEST_WATERMARK_STRING;
this.watermarkDraw = ((config['watermark_on_draw'] !== undefined) && (config['watermark_on_draw'] != "")) ?
new AscCommon.CWatermarkOnDraw(config['watermark_on_draw']) : null;
this.watermarkDraw =
config['watermark_on_draw'] ? new AscCommon.CWatermarkOnDraw(config['watermark_on_draw']) : null;
return this;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment