upload z zjec z galerii + prettycode
This commit is contained in:
@@ -89,3 +89,14 @@ if (!window.receiptUploaderInitialized) {
|
||||
|
||||
window.receiptUploaderInitialized = true;
|
||||
}
|
||||
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
const isMobile = /Mobi|Android|iPhone|iPad/i.test(navigator.userAgent);
|
||||
const galleryBtn = document.getElementById("galleryBtn");
|
||||
const galleryInput = document.getElementById("galleryInput");
|
||||
|
||||
if (!isMobile && galleryBtn && galleryInput) {
|
||||
galleryBtn.style.display = "none";
|
||||
galleryInput.disabled = true;
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user