uff
This commit is contained in:
parent
f034f181b5
commit
a77942768a
1 changed files with 6 additions and 3 deletions
|
@ -175,12 +175,15 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
debugger;
|
|
||||||
let hashParams = window.location.hash
|
let hashParams = window.location.hash
|
||||||
let dataPart = hashParams.replace('#data=', '')
|
let dataPart = hashParams.replace('#data=', '')
|
||||||
let decodedData = atob(dataPart)
|
let decodedData = atob(dataPart)
|
||||||
let arr = JSON.parse(decodedData)
|
if (decodedData.length > 0) {
|
||||||
haram.harams = arr
|
let arr = JSON.parse(decodedData)
|
||||||
|
if (arr.length > 0) {
|
||||||
|
haram.harams = arr
|
||||||
|
}
|
||||||
|
}
|
||||||
haram.setUp()
|
haram.setUp()
|
||||||
document.getElementById('edit').addEventListener('click', () => {
|
document.getElementById('edit').addEventListener('click', () => {
|
||||||
if (haram.editMode === true) {
|
if (haram.editMode === true) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue