Skip to content

Commit

Permalink
fixed syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedeboer committed Apr 20, 2012
1 parent 289546c commit 9bf8fd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/ext/gotoline/gotoline.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ module.exports = ext.register("ext/gotoline/gotoline", {

ace.gotoLine(line);

if (preview) {
if (typeof preview != "undefined") {
var animate = apf.isTrue(settings.model.queryValue("editors/code/@animatedscroll"));
if (!animate)
return;
Expand Down

0 comments on commit 9bf8fd2

Please sign in to comment.