Skip to content

Commit

Permalink
javascript files: syntax fixes
Browse files Browse the repository at this point in the history
- var scope
- missing semicolumns

Signed-off-by: Damien Regad <dregad@mantisbt.org>
  • Loading branch information
JeremyVriens authored and dregad committed Dec 20, 2015
1 parent f3f1692 commit d012922
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions javascript/common.js
Expand Up @@ -151,7 +151,7 @@ $(document).ready( function() {
delete this.timerID;
}
}
}
};
$('input[type=button].stopwatch_toggle').click(function() {
if (stopwatch.elapsedTime == 0) {
stopwatch.stop();
Expand Down Expand Up @@ -370,10 +370,10 @@ function SetCookie( p_cookie, p_value ) {
}

function ToggleDiv( p_div ) {
t_open_div = '#' + p_div + "_open";
t_closed_div = '#' + p_div + "_closed";
var t_open_div = '#' + p_div + "_open";
var t_closed_div = '#' + p_div + "_closed";

t_cookie = GetCookie( "collapse_settings" );
var t_cookie = GetCookie( "collapse_settings" );
if ( 1 == g_collapse_clear ) {
t_cookie = "";
g_collapse_clear = 0;
Expand Down
2 changes: 1 addition & 1 deletion javascript/install.js
Expand Up @@ -49,4 +49,4 @@ $('#db_type').change(
}
).change();

})
});

0 comments on commit d012922

Please sign in to comment.