From bfc2e26bf49e6a849ba6c4c6da327118d4d49d12 Mon Sep 17 00:00:00 2001 From: Matr1x-101 <70490301+Matr1x-101@users.noreply.github.com> Date: Thu, 17 Oct 2024 21:02:41 +0100 Subject: [PATCH] readd comment --- morebits.js | 1 + 1 file changed, 1 insertion(+) diff --git a/morebits.js b/morebits.js index d6a975788..f777d4693 100644 --- a/morebits.js +++ b/morebits.js @@ -459,6 +459,7 @@ Morebits.quickForm.element.prototype.compute = function QuickFormElementCompute( node = document.createDocumentFragment(); // fragments can't have any attributes, so just return it straight away return [ node, node ]; + // Sometimes Twinkle uses fancy searchable "select" elements. This is powered by the third party library "select2". Activate it by creating a Morebits "select" element, then call `$('select[name=sub_group]').select2({});` or similar towards the end of your main code. case 'select': node = document.createElement('div');