Commit cef6dfae authored by Oleg Korshul's avatar Oleg Korshul

image, placed in cache => callback

parent 6cf65f62
...@@ -2021,7 +2021,7 @@ ...@@ -2021,7 +2021,7 @@
if (this.HtmlPage.m_oApi.isMobileVersion) if (this.HtmlPage.m_oApi.isMobileVersion)
{ {
var _w = this.HtmlPage.m_oEditor.HtmlElement.width; var _w = this.HtmlPage.m_oEditor.HtmlElement.width;
if (this.bIsRetinaSupport) if (this.HtmlPage.bIsRetinaSupport)
{ {
_w >>= 1; _w >>= 1;
} }
......
...@@ -774,7 +774,7 @@ ...@@ -774,7 +774,7 @@
{ {
var _loadedUrl = this.ImageLoader.LoadImage(AscCommon.getFullImageSrc2(sLocalImage), 1); var _loadedUrl = this.ImageLoader.LoadImage(AscCommon.getFullImageSrc2(sLocalImage), 1);
if (_loadedUrl != null) if (_loadedUrl != null)
fCallback(); fCallback(_loadedUrl);
else else
this.asc_replaceLoadImageCallback(fCallback); this.asc_replaceLoadImageCallback(fCallback);
}; };
......
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