1
0
mirror of synced 2024-11-25 14:26:03 +03:00

Merge pull request #2364 from joshuajonah/master

Stopped refresh to top when `closeOnSelect: false`
This commit is contained in:
Kevin Brown 2014-10-24 18:27:25 -04:00
commit dd323687f3

View File

@ -3155,7 +3155,7 @@ the specific language governing permissions and limitations under the Apache Lic
} }
}); });
if (this.highlight() == -1 && noHighlightUpdate !== false){ if (this.highlight() == -1 && noHighlightUpdate !== false && this.opts.closeOnSelect === true){
self.highlight(0); self.highlight(0);
} }