Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit 3777393

Browse files
author
Gabriel Schulhof
committed
Pagecontainer: Call convertUrlToDataUrl() via _createDataUrl()
1 parent 582e07e commit 3777393

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/widgets/pagecontainer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ define( [
451451
// in many places is bad. Solutions post 1.0
452452
page.attr( "data-" + this._getNs() + "url",
453453
this.window[ 0 ].decodeURIComponent(
454-
$.mobile.path.convertUrlToDataUrl( fileUrl ) ) )
454+
this._createDataUrl( fileUrl ) ) )
455455
.attr( "data-" + this._getNs() + "external-page", true );
456456

457457
return page;

0 commit comments

Comments
 (0)