diff --git a/scp/js/scp.js b/scp/js/scp.js index 2de80670d70a01fbff5d35caa3e9910497464507..2e6a116be5b998e44cf4ae812e2314c095cce14b 100644 --- a/scp/js/scp.js +++ b/scp/js/scp.js @@ -1057,7 +1057,7 @@ if ($.support.pjax) { var $this = $(this); if (!$this.hasClass('no-pjax') && !$this.closest('.no-pjax').length - && $this.attr('href')[0] != '#') + && $this.attr('href').charAt(0) != '#') $.pjax.click(event, {container: $this.data('pjaxContainer') || $('#pjax-container'), timeout: 2000}); }) }