Bug Fix: Opera/Safari Searching

David Somers reported an issue with searching on Opera and Safari - odd, since I tested those browsers!

It turned out that search worked, but the options panel didn't reconfigure to make more room for the search results, so on small screens the results would be hidden. I think this dated back from the browser compatibility work from a while back... and I just assumed those browsers were buggy. Oops - turned out to be a subtle JavaScript issue - comparing an uninitialized parameter against null instead of undefined. It only worked because IE and Firefox apparently would report that state as === null and === undefined, even though null !== undefined. Weird.

Anyway, fixed. Ω

No comments: