Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1d2201a

Browse files
Adding footer in modal whit SweetAlert
1 parent 898fd06 commit 1d2201a

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

‎app/js/script.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ class Photo {
1313
imageUrl: this.src.original,
1414
imageWidth: '60%',
1515
showConfirmButton: false,
16-
imageAlt: this.alt
16+
imageAlt: this.alt,
17+
footer: `<p>Foto por: ${this.photographer}</p>`
1718
});
1819
}
1920
}

‎dist/script.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /