mirror of
https://github.com/FunKey-Project/FunKey-Project.github.io.git
synced 2025-12-12 10:18:50 +01:00
add .gitignore
Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
parent
59d4c55298
commit
73b2a257a8
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
*~
|
||||||
@ -1,24 +0,0 @@
|
|||||||
$(document).ready(function () {
|
|
||||||
let productImageGroups = []
|
|
||||||
$('.img-fluid').each(function () {
|
|
||||||
let productImageSource = $(this).attr('src')
|
|
||||||
let productImageTag = $(this).attr('tag')
|
|
||||||
let productImageTitle = $(this).attr('title')
|
|
||||||
if (productImageTitle) {
|
|
||||||
productImageTitle = 'title="' + productImageTitle + '" '
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
productImageTitle = ''
|
|
||||||
}
|
|
||||||
$(this).
|
|
||||||
wrap('<a class="boxedThumb ' + productImageTag + '" ' +
|
|
||||||
productImageTitle + 'href="' + productImageSource + '"></a>')
|
|
||||||
productImageGroups.push('.' + productImageTag)
|
|
||||||
})
|
|
||||||
jQuery.unique(productImageGroups)
|
|
||||||
productImageGroups.forEach(productImageGroupsSet)
|
|
||||||
|
|
||||||
function productImageGroupsSet (value) {
|
|
||||||
$(value).simpleLightbox()
|
|
||||||
}
|
|
||||||
})
|
|
||||||
Loading…
x
Reference in New Issue
Block a user