aboutsummaryrefslogtreecommitdiffstats
path: root/src/manipulation.js
diff options
context:
space:
mode:
authorTimmy Willison <timmywillisn@gmail.com>2015-11-06 18:36:38 -0500
committerTimmy Willison <timmywillisn@gmail.com>2015-11-09 14:14:30 -0500
commit22449eb968622c2e14d6c8d8de2cf1e1ba4adccd (patch)
treea10fbbc33d0eb7799b67f1b441459a3e59419da2 /src/manipulation.js
parent67fa2eab6ef323b1d894e9e7f054c6e8c844d304 (diff)
downloadjquery-22449eb968622c2e14d6c8d8de2cf1e1ba4adccd.tar.gz
jquery-22449eb968622c2e14d6c8d8de2cf1e1ba4adccd.zip
Manipulation: execute scripts from iframe in the iframe's context
Fixes gh-1757 Close gh-2696
Diffstat (limited to 'src/manipulation.js')
-rw-r--r--src/manipulation.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manipulation.js b/src/manipulation.js
index ceb970cbd..eaf2e0998 100644
--- a/src/manipulation.js
+++ b/src/manipulation.js
@@ -192,7 +192,7 @@ function domManip( collection, args, callback, ignored ) {
jQuery._evalUrl( node.src );
}
} else {
- jQuery.globalEval( node.textContent.replace( rcleanScript, "" ) );
+ jQuery.globalEval( node.textContent.replace( rcleanScript, "" ), doc );
}
}
}