diff options
author | suelockwood <deathbearbrown@gmail.com> | 2013-11-22 11:09:27 -0500 |
---|---|---|
committer | suelockwood <deathbearbrown@gmail.com> | 2013-11-22 11:09:27 -0500 |
commit | 0216618cbf0b55cd5c60fddc83c07d610603752b (patch) | |
tree | 1ecc3e3421e4c27ea955db5ed300a68e360f9cad | |
parent | aefd60e89629bb6aa1815f4701c06035545813ce (diff) | |
download | couchdb-0216618cbf0b55cd5c60fddc83c07d610603752b.tar.gz |
Fix issue with Ace editor and wrap not working properly with "toggle slow"
-rw-r--r-- | src/fauxton/app/modules/documents/views.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fauxton/app/modules/documents/views.js b/src/fauxton/app/modules/documents/views.js index 56ce9c6a5..39e210dd9 100644 --- a/src/fauxton/app/modules/documents/views.js +++ b/src/fauxton/app/modules/documents/views.js @@ -1413,9 +1413,10 @@ function(app, FauxtonAPI, Components, Documents, pouchdb, resizeColumns) { if ($targetId === 'index-nav') { if (this.newView) { return; } - $index.toggle('slow'); var that = this; - setTimeout(function(){that.showEditors();},100); + $index.toggle('slow', function(){ + that.showEditors(); + }); } else { $index.removeAttr('style'); } |