• When surfing my site in Firefox, I got the following error message from the console:

    Warning: function showHide does not always return a value
    Source File: https://www.idiotonastick.com/talk/
    Line: 40, Column: 210
    Source Code:
    .getElementById(extTextDivID).style.display = "none";document.getElementById(extLinkDivID).style.display = "block";}} else {location.href = entryLink;return true;}} else {location.href = entryLink;return true;}}

    Does anybody know what this means and what I should do to fix it?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m not seeing errors – could be plugin related ?

    Thread Starter jafer

    (@jafer)

    Yes, I’m sure it’s related to the showHide plugin, but I have no idea what the error message means or how to correct it.

    Here’s what it shows me in the firefox javascript console with the error:

    <script type="text/javascript">function showHide(entryID, entryLink, htmlObj, type) {if (type == "comments") {extTextDivID = ('comText' + (entryID));extLinkDivID = ('comLink' + (entryID));} else {extTextDivID = ('extText' + (entryID));extLinkDivID = ('extLink' + (entryID));}if( document.getElementById ) {if( document.getElementById(extTextDivID).style.display ) {if( entryLink != 0 ) {document.getElementById(extTextDivID).style.display = "block";document.getElementById(extLinkDivID).style.display = "none";htmlObj.blur();} else {document.getElementById(extTextDivID).style.display = "none";document.getElementById(extLinkDivID).style.display = "block";}} else {location.href = entryLink;return true;}} else {location.href = entryLink;return true;}}</script>

    It says function showHide does not always return a value, Line 40.

    I have no idea what that means.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘What is this Error Message?’ is closed to new replies.