Skip to content

Commit dd7800d

Browse files
committed
correct img path
1 parent 2dd1526 commit dd7800d

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

imglab/js/prompt.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ const ads = [
2121
alt: 'Wishin Product'
2222
},
2323
{
24-
image: 'https://solothought.com/products/assets/images/wishin/old-habit.png',
24+
image: 'https://solothought.com/products/assets/images/wishin/old-habit.jpg',
2525
url: 'https://play.google.com/store/apps/details?id=com.solothought.wishin',
2626
alt: 'Wishin Product'
2727
},
2828
{
29-
image: 'https://solothought.com/products/assets/images/wishin/reason-for-habit.png',
29+
image: 'https://solothought.com/products/assets/images/wishin/reason-for-habit.jpg',
3030
url: 'https://play.google.com/store/apps/details?id=com.solothought.wishin',
3131
alt: 'Wishin Product'
3232
},
@@ -44,9 +44,10 @@ function getRandomAd() {
4444

4545
// Function to check if ad should be shown today
4646
function shouldShowAd() {
47-
const lastShown = localStorage.getItem('adLastShown');
48-
const today = new Date().toDateString();
49-
return lastShown !== today;
47+
// const lastShown = localStorage.getItem('adLastShown');
48+
// const today = new Date().toDateString();
49+
// return lastShown !== today;
50+
return true;
5051
}
5152

5253
// Function to show the ad popup

0 commit comments

Comments
 (0)