Skip to content

Commit

Permalink
change wrong method name (#662)
Browse files Browse the repository at this point in the history
  • Loading branch information
miherlosev authored and churkin committed Jul 7, 2016
1 parent 9f5bd47 commit 9b12170
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client/sandbox/node/element.js
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ export default class ElementSandbox extends SandboxBase {
window.HTMLFormElement.prototype.submit = this.overridedMethods.formSubmit;
}

_setNonProxedSrcOnError (img) {
_setProxiedSrcUrlOnError (img) {
img.addEventListener('error', e => {
var storedAttr = nativeMethods.getAttribute.call(img, domProcessor.getStoredAttrName('src'));

Expand All @@ -534,7 +534,7 @@ export default class ElementSandbox extends SandboxBase {

processElement (el) {
if (domUtils.isImgElement(el))
this._setNonProxedSrcOnError(el);
this._setProxiedSrcUrlOnError(el);
else if (domUtils.isIframeElement(el))
this.iframeSandbox.processIframe(el);
else if (domUtils.isBaseElement(el))
Expand Down

0 comments on commit 9b12170

Please sign in to comment.