mirror of
https://github.com/friendica/friendica
synced 2024-12-23 04:00:15 +00:00
spelling: that
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
935e57c280
commit
9cc37d5541
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ $(document).ready(function () {
|
||||||
// We need to make sure we only put a Colorbox on links to Friendica images.
|
// We need to make sure we only put a Colorbox on links to Friendica images.
|
||||||
// We'll try to do this by looking for links of the form
|
// We'll try to do this by looking for links of the form
|
||||||
// .../photo/ab803d8eg08daf85023adfec08 (with nothing more following), in hopes
|
// .../photo/ab803d8eg08daf85023adfec08 (with nothing more following), in hopes
|
||||||
// that that will be unique enough.
|
// that will be unique enough.
|
||||||
if (imgHref.match(/\/photo\/[a-fA-F0-9]+(-[0-9]\.[\w]+?)?$/)) {
|
if (imgHref.match(/\/photo\/[a-fA-F0-9]+(-[0-9]\.[\w]+?)?$/)) {
|
||||||
// Add a unique class to all the images of a certain post, to allow scrolling through
|
// Add a unique class to all the images of a certain post, to allow scrolling through
|
||||||
var cBoxClass = $(this).closest(".wall-item-body").attr("id") + "-lightbox";
|
var cBoxClass = $(this).closest(".wall-item-body").attr("id") + "-lightbox";
|
||||||
|
|
Loading…
Reference in a new issue