Skip to content

Commit cf69192

Browse files
committed
Quick fix for Chromium v140 select issue
1 parent 4a5b646 commit cf69192

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/js/utils/common.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,17 @@ export function urlExists(url) {
9292
*/
9393

9494
$.fn.sortSelect = function (text = "") {
95+
96+
/*
97+
98+
Chrome 140 does not work when we use this function on select element directly
99+
100+
Temporary disable sorting for now
101+
102+
*/
103+
104+
return this;
105+
95106
const op = this.children("option");
96107

97108
op.sort((a, b) => {

0 commit comments

Comments
 (0)