projects
/
WP-Themes
/
themoleholeonline.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bf5726
)
getting url
author
Anthony Talarico
<talarico@gaslightmedia.com>
Fri, 11 Dec 2015 19:50:10 +0000
(14:50 -0500)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Fri, 11 Dec 2015 19:50:10 +0000
(14:50 -0500)
js/galleria.min.js
patch
|
blob
|
history
diff --git
a/js/galleria.min.js
b/js/galleria.min.js
index
3d5f96a
..
c749a9c
100644
(file)
--- a/
js/galleria.min.js
+++ b/
js/galleria.min.js
@@
-1,8
+1,8
@@
!function(){jQuery(window).load(function(){
- if(
jQuery(location).attr('pathname')
.indexOf("page_id=18") >= 0){
+ if(
window.location.href
.indexOf("page_id=18") >= 0){
alert(jQuery(location).attr('pathname'));
} else {
- alert(
jQuery(location).attr('pathname')
);
+ alert(
window.location.href
);
}
jQuery(".product-category.product .fadeIn").find("mark").remove();
jQuery('.page_item.page-item-16').append("<ul><li>test</li><li>test</li><li>test</li><li>test</li> </ul>");