Add touch-ups after frame redesign

This commit is contained in:
oakes
2015-02-11 17:01:02 -05:00
parent 4d0e4ecce7
commit 86e21cc73d
3 changed files with 18 additions and 33 deletions

View File

@@ -1,9 +1,9 @@
function goToHash(){
if(window.location.hash != ""){
document.getElementById("content-frame").src = window.location.hash.substr(1)
}
function goToHash() {
if (window.location.hash != "") {
document.getElementById("content-frame").src = window.location.hash.substr(1)
}
}
function setHash(link){
window.parent.location.hash = link.getAttribute("newHash")
function setHash(link) {
window.parent.location.hash = link.getAttribute("newHash")
}