Members
selectTxt
Check if URL is URL and it's a picture
- Source:
Methods
applyBg(img)
Add background image to body
Parameters:
Name | Type | Description |
---|---|---|
img |
Object | picture to add |
- Source:
backupCandidates()
Save all candidates in cookie if timer started
- Source:
changeBG(url)
Change page background
Parameters:
Name | Type | Description |
---|---|---|
url |
string | picture URL |
- Source:
donationHandler(msg)
Create notification on donation
Parameters:
Name | Type | Description |
---|---|---|
msg |
string | JSON string from DonationAlerts with information about donation |
- Source:
focusLastName()
focus() on last (empty) name input when restore
- Source:
restoreCandidates()
Restore candidates from cookie on load
- Source:
selectTxt(input)
Select all text in input
Parameters:
Name | Type | Description |
---|---|---|
input |
Object | input element |
- Source: