Skip to content

Commit

Permalink
Javascript Errors, Travis Build Failed, This should Remedy it.
Browse files Browse the repository at this point in the history
  • Loading branch information
meaganewaller committed Aug 31, 2013
1 parent 76a1b0d commit 0322ba1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/app/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ $(function() {
// cmd + return submits nitpicks on mac ctrl + return submits on windows
// from https://github.com/dewski/cmd-enter
$(document).on('keydown', 'textarea', function(e) {
if(e.keyCode == 13 && (e.metaKey || e.ctrlKey)) {
if(e.keyCode === 13 && (e.metaKey || e.ctrlKey)) {
$(this).parents('form').submit();
};
}
});

$('.work-slug').popover({
Expand Down

0 comments on commit 0322ba1

Please sign in to comment.