Skip to content

Commit 50e07d6

Browse files
committed
bug fixed
1 parent 49c8844 commit 50e07d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/widget.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ ethplorerWidget = {
2929
options.widgetOptions = widgetOptions;
3030
options.widgetType = type;
3131
if(document.location.href.indexOf("//ethplorer.io") > 0){
32-
ethplorerWidget.api = ethplorerWidget.api.replace('api', 'api2');
32+
ethplorerWidget.api = ethplorerWidget.api.replace('api.', 'api2.');
3333
}
3434
if('undefined' === typeof(jQuery)){
3535
console.error('Cannot initialize Ethplorer widget: jQuery not found.');

0 commit comments

Comments
 (0)