ficed image formats for slides
This commit is contained in:
@@ -60,8 +60,8 @@
|
||||
|
||||
// Images (in the format of 'url': 'alignment').
|
||||
images: {
|
||||
'images/slides/IMG_5742.jpg': '0% 35%',
|
||||
'images/slides/IMG_5782.jpg': 'center',
|
||||
'images/slides/IMG_5742.jpeg': '0% 35%',
|
||||
'images/slides/IMG_5782.jpeg': 'center',
|
||||
// 'images/slides/slide03.jpg': 'center',
|
||||
// 'images/slides/slide04.jpg': 'center'
|
||||
},
|
||||
@@ -135,7 +135,7 @@
|
||||
href = $a.attr('href');
|
||||
|
||||
// Not an image? Bail.
|
||||
if (!href.match(/\.(jpg|gif|png|mp4)$/))
|
||||
if (!href.match(/\.(jpg|jpeg|webp|gif|png|mp4)$/))
|
||||
return;
|
||||
|
||||
// Prevent default.
|
||||
|
||||
Reference in New Issue
Block a user