Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove unnecessary code.

Best kind of change.
  • Loading branch information...
commit eca6051ab3d5f231b7731dcde400eb9cdec3a592 1 parent f7dcab2
@cespare cespare authored
Showing with 3 additions and 5 deletions.
  1. +3 −5 chat/assets/util.coffee
View
8 chat/assets/util.coffee
@@ -36,8 +36,6 @@ window.Util =
top: 'auto', # Top position relative to parent in px
left: 'auto' # Left position relative to parent in px
-$ ->
- window.onbeforeunload = ->
- if $("#chat-text").val().length > 0
- return "You have an unsent message."
- return null
+window.onbeforeunload = ->
+ if $("#chat-text").val().length > 0
+ return "You have an unsent message."
Please sign in to comment.
Something went wrong with that request. Please try again.