Fixed broken hints on pages with frames.
authorDaniel Carl <danielcarl@gmx.de>
Tue, 26 Mar 2013 23:23:27 +0000 (00:23 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Tue, 26 Mar 2013 23:23:27 +0000 (00:23 +0100)
commit7e78694b3b7612f3a72bc103679d16ac3a74c5ac
tree4c0cbe72460922a0ece77e3cfe2cff2819c51492
parentddf244569fd70f1e117cb36941649daf955e4ff1
Fixed broken hints on pages with frames.

If pages contains pages with content from other domains, we can't process them
because of the same origin policy. In this case the window.document is
undefined and no hint could be shown. To solve the problem, we leaf the
hinting helper if we cant access the document.
src/hints.js