Spaces:
Paused
Paused
Update share_btn.py
Browse files- share_btn.py +1 -3
share_btn.py
CHANGED
@@ -44,9 +44,7 @@ share_js = """async () => {
|
|
44 |
const shareBtnEl = gradioEl.querySelector('#share-btn');
|
45 |
const shareIconEl = gradioEl.querySelector('#share-btn-share-icon');
|
46 |
const loadingIconEl = gradioEl.querySelector('#share-btn-loading-icon');
|
47 |
-
|
48 |
-
return;
|
49 |
-
};
|
50 |
shareBtnEl.style.pointerEvents = 'none';
|
51 |
shareIconEl.style.display = 'none';
|
52 |
loadingIconEl.style.removeProperty('display');
|
|
|
44 |
const shareBtnEl = gradioEl.querySelector('#share-btn');
|
45 |
const shareIconEl = gradioEl.querySelector('#share-btn-share-icon');
|
46 |
const loadingIconEl = gradioEl.querySelector('#share-btn-loading-icon');
|
47 |
+
|
|
|
|
|
48 |
shareBtnEl.style.pointerEvents = 'none';
|
49 |
shareIconEl.style.display = 'none';
|
50 |
loadingIconEl.style.removeProperty('display');
|