()
| 185 | } |
| 186 | |
| 187 | function getIframeHash() { |
| 188 | var doc = getHistoryFrame().contentWindow.document; |
| 189 | var hash = String(doc.location.search); |
| 190 | if (hash.length == 1 && hash.charAt(0) == "?") { |
| 191 | hash = ""; |
| 192 | } |
| 193 | else if (hash.length >= 2 && hash.charAt(0) == "?") { |
| 194 | hash = hash.substring(1); |
| 195 | } |
| 196 | return hash; |
| 197 | } |
| 198 | |
| 199 | /* Get the current location hash excluding the '#' symbol. */ |
| 200 | function getHash() { |
no test coverage detected
searching dependent graphs…