First time here? Check out the FAQ!

Revision history  [back]

Comments "see more" doesn't show up in explorer

Hello, I've had lots of comments on a single question but on Internet Explorer version 8 (haven't checked 9) the show/more comments doesn't appear.

There is a javascript error in the this code:

 $(document).ready(function(){
        if (Modernizr.history) {
          // history management works!
        } else {
          // no history support :(
          //hash = unescape(window.location.hash).replace('#','').split("?")[0]
          hash = History.unescapeHash(window.location.hash).replace('#','').split("?")[0]
          if (hash.substring(0,11)==askbot['urls']['questions']){
            url = hash
          }else{
            url = askbot['urls']['questions']+hash
          }
          if (hash !== ''){
              window.location = 'http://'+window.location.host+url
          }
        }

        // focus input on the search bar endcomment

            $('#keywords').focus();

        animateHashes();
    })

It looks like askbot['urls']['questions'] isn't defined anywhere. Anyway, the problem is a little sporadic in Internet explorer. I'm not entirely sure of the real cause, and if that javascript error had anything to do with it.

Comments "see more" doesn't show up in explorer

Hello, I've had lots of comments on a single question but on Internet Explorer version 8 (haven't checked 9) the show/more comments doesn't appear.

There is a javascript error in the this code:

 $(document).ready(function(){
        if (Modernizr.history) {
          // history management works!
        } else {
          // no history support :(
          //hash = unescape(window.location.hash).replace('#','').split("?")[0]
          hash = History.unescapeHash(window.location.hash).replace('#','').split("?")[0]
          if (hash.substring(0,11)==askbot['urls']['questions']){
            url = hash
          }else{
            url = askbot['urls']['questions']+hash
          }
          if (hash !== ''){
              window.location = 'http://'+window.location.host+url
          }
        }

        // focus input on the search bar endcomment

            $('#keywords').focus();

        animateHashes();
    })

It looks like askbot['urls']['questions'] isn't defined anywhere. Anyway, the problem is a little sporadic in Internet explorer. I'm not entirely sure of the real cause, and if that javascript error had anything to do with it.