We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4f6462 commit a770adeCopy full SHA for a770ade
1 file changed
select2.js
@@ -316,7 +316,7 @@ the specific language governing permissions and limitations under the Apache Lic
316
if( null !== handler) { handler.abort(); }
317
318
handler = transport.call(null, {
319
- url: options.url,
+ url: ((typeof options.url === 'function')?options.url():options.url),
320
dataType: options.dataType,
321
data: data,
322
type: type,
0 commit comments