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 dataPart = hashParams.replace('#data=', '')
|
||||
let decodedData = atob(dataPart)
|
||||
if (decodedData.length > 0) {
|
||||
let arr = JSON.parse(decodedData)
|
||||
if (arr.length > 0) {
|
||||
haram.harams = arr
|
||||
}
|
||||
}
|
||||
haram.setUp()
|
||||
document.getElementById('edit').addEventListener('click', () => {
|
||||
if (haram.editMode === true) {
|
||||
|
|
Loading…
Add table
Reference in a new issue