We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15460eb commit f7c94eaCopy full SHA for f7c94ea
1 file changed
public/js/photos.js
@@ -1,5 +1,5 @@
1
(function() {
2
- if (window.location.href.indexOf('photos') !== -1) {
+ if (window.location.href.match(/photos$/)) {
3
domready(function() {
4
var createImage = function(i, g) {
5
var thephoto = document.createElement('img');
0 commit comments