Skip to content

Commit 9984c7d

Browse files
committed
typo fix
1 parent 3764dbb commit 9984c7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wombat.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -929,7 +929,7 @@ Wombat.prototype.getFinalUrl = function(useRel, mod, url) {
929929
*/
930930
Wombat.prototype.resolveRelUrl = function(url, doc) {
931931
var docObj = this.$wbwindow.document;
932-
if (doc && doc.baseURI && (doc.startsWith(this.HTTPS_PREFIX) || doc.startsWith(this.HTTP_PREFIX))) {
932+
if (doc && doc.baseURI && (doc.baseURI.startsWith(this.HTTPS_PREFIX) || doc.baseURI.startsWith(this.HTTP_PREFIX))) {
933933
docObj = doc;
934934
}
935935
var parser = this.makeParser(docObj.baseURI, docObj);

0 commit comments

Comments
 (0)