...
|
...
|
@@ -9,7 +9,7 @@ var $ = require('jquery'), |
|
|
|
|
|
var commentsNum,consultsNum;
|
|
|
|
|
|
var consultFooterEle = document.getElementById('consult-content-footer'),
|
|
|
var consultFooterEle = $('.consult-content-footer')[0],
|
|
|
consultFooterHammer = consultFooterEle && new Hammer(consultFooterEle),
|
|
|
|
|
|
navtabEle = document.getElementById('nav-tab'),
|
...
|
...
|
@@ -68,13 +68,13 @@ if (navtabHammer) { |
|
|
|
|
|
if (consultFooterHammer) {
|
|
|
consultFooterHammer.on('tap', function() {
|
|
|
location.href = $(consultFooterEle).find('a').attr('href');
|
|
|
location.href = $(consultFooterEle).data('href');
|
|
|
});
|
|
|
}
|
|
|
|
|
|
if (gotoConsultHammer) {
|
|
|
gotoConsultHammer.on('tap', function() {
|
|
|
location.href = $(gotoConsultEle).find('a').attr('href');
|
|
|
location.href = $(gotoConsultEle).data('href');
|
|
|
});
|
|
|
}
|
|
|
|
...
|
...
|
|