PageSourceSearch

https://ceskedrahy.cz/modules/CUSTOM/msw_youtube_upload_field/js/msw_youtube_upload_field.js?v=10.3.2

js ceskedrahy.cz collected 2026-10-02 04:27:17 UTC 742 bytes, 24 lines download raw bytes

1(function ($) {
2
3  var initialized = false;
4  Drupal.behaviors.mswYoutubeUploadField = {
5    attach: function () {
6      if (initialized) {
7        return;
8      }
9      initialized = true;
10      // -------------------- insert updated code here -------------
11
12      /** SHOW & HIDE INPUT */
13      $('body').on('click', '.filefield-sources-list .filefield-source-upload', function() {
14        $(this).parent().parent().find('.form-managed-file__main').show();
15      });
16
17      $('body').on('click', '.filefield-sources-list .filefield-source-youtube', function() {
18        $(this).parent().parent().find('.form-managed-file__main').hide();
19      });
20      // -------------------- insert updated code here -------------
21    }
22  };
23
24}(jQuery));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.