()
| 176 | } |
| 177 | |
| 178 | function getIframeHash() { |
| 179 | var doc = getHistoryFrame().contentWindow.document; |
| 180 | var hash = String(doc.location.search); |
| 181 | if (hash.length == 1 && hash.charAt(0) == "?") { |
| 182 | hash = ""; |
| 183 | } |
| 184 | else if (hash.length >= 2 && hash.charAt(0) == "?") { |
| 185 | hash = hash.substring(1); |
| 186 | } |
| 187 | return hash; |
| 188 | } |
| 189 | |
| 190 | /* Get the current location hash excluding the '#' symbol. */ |
| 191 | function getHash() { |
no test coverage detected
searching dependent graphs…