...
|
...
|
@@ -17,6 +17,7 @@ require('../common'); |
|
|
|
|
|
function resetHeight() {
|
|
|
var h = document.body.scrollHeight - $search.outerHeight() - $nav.outerHeight();
|
|
|
|
|
|
$contents.height(h);
|
|
|
}
|
|
|
resetHeight();
|
...
|
...
|
@@ -73,7 +74,7 @@ $categoryContainer.on('touchend', function(e) { |
|
|
$subLevel.eq(index).removeClass('hide');
|
|
|
}
|
|
|
|
|
|
if ($this.find('a').attr('href')) {
|
|
|
if ($this[0] && $this[0].tagName === 'LI' && $this.find('a').attr('href')) {
|
|
|
location.href = $this.find('a').attr('href');
|
|
|
}
|
|
|
});
|
...
|
...
|
|