浏览代码

js

master
父节点
当前提交
06a45b763e
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      zenitPlatformAtmosSet1/src/Resources/app/storefront/dist/storefront/js/zenit-platform-atmos-set1.js
  2. +1
    -1
      zenitPlatformAtmosSet2/src/Resources/app/storefront/dist/storefront/js/zenit-platform-atmos-set2.js

+ 1
- 1
zenitPlatformAtmosSet1/src/Resources/app/storefront/dist/storefront/js/zenit-platform-atmos-set1.js 查看文件

@@ -58,7 +58,7 @@ $(document).ready(function() {
}); });
// Add smooth scrolling to all links // Add smooth scrolling to all links
$("a").on('click', function(event) {
$(".thumbnail-container a").on('click', function(event) {
// Make sure this.hash has a value before overriding default behavior // Make sure this.hash has a value before overriding default behavior
if (this.hash !== "") { if (this.hash !== "") {
// Prevent default anchor click behavior // Prevent default anchor click behavior


+ 1
- 1
zenitPlatformAtmosSet2/src/Resources/app/storefront/dist/storefront/js/zenit-platform-atmos-set2.js 查看文件

@@ -58,7 +58,7 @@ $(document).ready(function() {
}); });


// Add smooth scrolling to all links // Add smooth scrolling to all links
$("a").on('click', function(event) {
$(".thumbnail-container a").on('click', function(event) {
// Make sure this.hash has a value before overriding default behavior // Make sure this.hash has a value before overriding default behavior
if (this.hash !== "") { if (this.hash !== "") {
// Prevent default anchor click behavior // Prevent default anchor click behavior


正在加载...
取消
保存