             modified = "https://www.youtube.com/embed/" + getVideoHash(urlString)
             if urlString.containsString("?t=") {
                     modified += makeCustomStartTimeURL(urlString)
-                }
-            }
+            }
+        }
             
             if urlString != modified {
                 decisionHandler(WKNavigationActionPolicy.Cancel)


import Cocoa
import WebKit

class WebViewController: NSViewController, WKNavigationDelegate {


//
//  WebViewController.swift
//  Helium
//
//  Created by Jaden Geller on 4/9/15.
