Skip to content

Commit

Permalink
ux
Browse files Browse the repository at this point in the history
  • Loading branch information
nano2dev committed Feb 2, 2024
1 parent 30c1ae4 commit bc44434
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions latest.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
let locked_content = {}
let check_interval = null
let rpc_checkout = {}
let wall_success = null

if (window.NanoPay === undefined) window.NanoPay = { debug: false }

Expand Down Expand Up @@ -108,7 +109,7 @@

if (elementId) localStorage.setItem(elementId, true)

if (window.NanoPay.wall_success) window.NanoPay.wall_success(block, element, elementId)
if (wall_success) wall_success(block, element, elementId)

}

Expand All @@ -126,7 +127,7 @@

var all = document.querySelectorAll(config.element);

if (config.success) window.NanoPay.wall_success = config.success
if (config.success) wall_success = config.success

original_config = config

Expand Down

0 comments on commit bc44434

Please sign in to comment.