Showing
1 changed file
with
6 additions
and
3 deletions
@@ -205,6 +205,9 @@ let tipDialog = { | @@ -205,6 +205,9 @@ let tipDialog = { | ||
205 | tipDialog.init(); | 205 | tipDialog.init(); |
206 | question.init(); | 206 | question.init(); |
207 | 207 | ||
208 | -$('.nav-back').removeAttr('href').click(function() { | ||
209 | - tipDialog.show(); | ||
210 | -}); | 208 | +if (question.$base.length) { |
209 | + $('.nav-back').removeAttr('href').click(function() { | ||
210 | + tipDialog.show(); | ||
211 | + }); | ||
212 | +} | ||
213 | + |
-
Please register or login to post a comment