Sha256: 41cd674b3ed0f598d2cbd85174c2e2bf10a7e08be2864a8e4fd3087b71a569ce
Contents?: true
Size: 740 Bytes
Versions: 24
Compression:
Stored size: 740 Bytes
Contents
FORGE.features.settings = { initVideoFeeds: function () { var self = FORGE.features.settings, select = "#settings_video_feed_source"; self.$video = $("#video"); // Display the form right away if selected $(select).find("option:selected").val() === "" ? "" : self.displayFeedForm($(select).find("option:selected").val()); // Display the selected form self.$video.on("change", select, function () { $(this).val() === "" ? "" : self.displayFeedForm($(this).val()); }); }, displayFeedForm: function (display) { var self = FORGE.features.settings, baseHeight = 100, height; self.$video .find(".hide").slideUp().end() .find("#" + display).slideDown(); } }
Version data entries
24 entries across 24 versions & 1 rubygems