mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
Fix Jump-To-Definition bug: trying to open new file when search fails.
This commit is contained in:
1 parent
5e11b5abf1
commit
51edab6185
1 file changed
+1
-1
@@ -395,7 +395,7 @@ define(function (require, exports, module) {
|
||||
if (response.hasOwnProperty("promise")) {
|
||||
response.promise.done(function (jumpResp) {
|
||||
|
||||
if (jumpResp.resultFile !== jumpResp.file) {
|
||||
if (jumpResp.resultFile && (jumpResp.resultFile !== jumpResp.file)) {
|
||||
|
||||
var doc = DocumentManager.getCurrentDocument();
|
||||
var x = doc.file.fullPath.lastIndexOf("/");
|
||||
|
||||
Reference in new issue
Block a user