[jQuery] $(document).ready window.history.back() bug?
Hi All
Not sure if this should go straight to the dev list so trying here
first. I've just spent two hours debugging a strange issue where the
following triggers the back function and ignores the contents of the
if condition:
$(document).ready(
function () {
if (window.history.back()) {
$('td.dynamicBackButton').addClass('txtAlignRight');
$('.dynamicBackButton').append('<button tabindex="-1"
type="button" onclick="window.history.back()">< Back</button>');
}
}
);
Is this a bug?