Kaynağa Gözat

fix plex ace selector

CauseFX 5 yıl önce
ebeveyn
işleme
5102b07e33
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  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();
     }
 

Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
js/custom.min.js


Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor