Skip to content

Commit 640e4b5

Browse files
Fixes Bug: #153
1 parent dae0387 commit 640e4b5

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

samples/browser/src/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@
1212
</head>
1313

1414
<body style="background: #f3f3f3;">
15-
<div class="fileUploadParent">
15+
<!-- <div class="fileUploadParent">
1616
<img id="profileImg" width="100px" src="" alt="profileImg" />
1717
<input id="uploadProfile" type="file" class="fileUpload" onchange="request.updateProfilePicture()" />
1818
<div class="imageInput">
1919
<img width="20px" src="./upload-user.svg" />
2020
</div>
21-
</div>
21+
</div> -->
2222
<div display="inline-block">
2323
<h2>
2424
<span>Hello </span>
25-
<span id="displayName" style="display: inline-block; vertical-align: middle;"></span>
26-
<span> !</span>
25+
<!-- <span id="displayName" style="display: inline-block; vertical-align: middle;"></span> -->
26+
<span>!</span>
2727
</h2>
2828
</div>
2929
<div class="main">

samples/browser/src/main.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ const init = async () => {
2020

2121
bindEvents();
2222

23-
let displayName = await request.getDisplayName();
24-
ui.setDisplayName(displayName);
23+
// let displayName = await request.getDisplayName();
24+
// ui.setDisplayName(displayName);
2525

26-
let profileImg = await request.getProfilePicture();
27-
ui.setProfilePicture(profileImg);
26+
// let profileImg = await request.getProfilePicture();
27+
// ui.setProfilePicture(profileImg);
2828
};
2929

3030
const bindEvents = () => {

0 commit comments

Comments
 (0)