Browse Source

Update focusing-tests.js

Pedro Felipe de Azevedo Furtado 6 năm trước cách đây
mục cha
commit
db30f66afc
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      tests/results/focusing-tests.js

+ 1 - 1
tests/results/focusing-tests.js

@@ -156,7 +156,7 @@ test('scrollAfterSelect triggers results:focus', function (assert) {
 
   var Results = require('select2/results');
 
-  var options = new Options({ scrollAfterSelect: false });
+  var options = new Options({ scrollAfterSelect: true });
   var results = new Results($select, options);
 
   // Fake the data adapter for the `setClasses` method