 class window.WebviewController
   # always put everything inside PhoneGap deviceready
   document.addEventListener "deviceready", ->
+    return if window.location.href.match "noNavigationBar.html"
+
     steroids.view.navigationBar.show { title: "webview" }
-    
-    
+
+
   @testOnSuccessWithOpen: () ->
     webView = new steroids.views.WebView "/views/webview/noNavigationBar.html"
 


  @testSetBackgroundWhite: ->
    steroids.view.setBackgroundColor("#FFFFFF")
    
  @testDisplayLoading: ->
    steroids.view.displayLoading()
    setTimeout ->

    }, {
      onSuccess: -> alert "keyboardc accesssory enabled"
    }

  @testDisableKeyboardAccessory: () ->
    steroids.view.updateKeyboard {
      accessoryBarEnabled:false
