Преглед изворни кода

Merge branch 'master' into ja-track-changes

James Allen пре 9 година
родитељ
комит
ff7c5a0954
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      services/web/public/coffee/ide/editor/directives/aceEditor.coffee

+ 1 - 1
services/web/public/coffee/ide/editor/directives/aceEditor.coffee

@@ -279,7 +279,7 @@ define [
 
 					session.setUseWrapMode(true)
 					# use syntax validation only when explicitly set
-					if scope.syntaxValidation? and syntaxValidationEnabled
+					if scope.syntaxValidation? and syntaxValidationEnabled and !scope.fileName.match(/\.bib$/)
 						session.setOption("useWorker", scope.syntaxValidation);
 
 					# now attach session to editor