فهرست منبع

fix plex ace selector

CauseFX 5 سال پیش
والد
کامیت
5102b07e33
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      js/custom.js
  2. 0 0
      js/custom.min.js

+ 2 - 2
js/custom.js

@@ -1863,11 +1863,11 @@ $(document).on('click', '.close-editHomepageItemDiv',function () {
 	$('html').removeAttr('style');
 })
 // Control init of custom plex JSON editor
-$(document).on('click', 'li a[aria-controls="Misc Options"]', function() {
+$(document).on('click', '#homepage-Plex-form li a[aria-controls="Misc Options"]', function() {
     var resizeEditor = function(jsonEditor) {
         const aceEditor = jsonEditor;
         const newHeight = aceEditor.getSession().getScreenLength() * (aceEditor.renderer.lineHeight + aceEditor.renderer.scrollBar.getWidth());
-        aceEditor.container.style.height = `${newHeight}px`;
+        aceEditor.container.style.height = newHeight + 'px';
         aceEditor.resize();
     }
 

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
js/custom.min.js


برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است