Git Komut Rehberi & Terminal Asistanı
Sıfırdan Yeni Bir Depo Başlatın:
Mevcut Bir Git Deposu veya Klasörü Gönderin:
Hataları Geri Alma, İptal & Temizlik:
Son commit'i geri al (yapılan değişiklikleri korur):
git reset --soft HEAD~1
Yapılan yerel değişiklikleri iptal et (çalışma ağacını temizler):
git restore .
Takip edilmeyen gereksiz dosyaları sil:
git clean -fd
Değişiklikleri geçici sakla ve geri getir (stash):
git stash git stash pop
Dal (Branch) ve Sürüm Etiketleri:
Yeni dal aç ve geçiş yap:
git checkout -b yeni-ozellik git push -u origin yeni-ozellik
Sürüm etiketi (tag) oluştur ve gönder:
git tag -a v1.0.0 -m "Sürüm 1.0.0" git push origin --tags
fix(a11y): prevent duplicate instance name announcement in header brand logo (v1.7.2)
This commit is contained in:
@@ -1016,15 +1016,18 @@ try {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (img.src && (img.src.includes('logo') || img.className.includes('logo'))) {
|
|
||||||
img.setAttribute('alt', getInstanceName() + ' Logo');
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
var parentLink = img.closest('a');
|
var parentLink = img.closest('a');
|
||||||
if (parentLink && parentLink.textContent && parentLink.textContent.trim().length > 0) {
|
if (parentLink && parentLink.textContent && parentLink.textContent.trim().length > 0) {
|
||||||
img.setAttribute('alt', '');
|
img.setAttribute('alt', '');
|
||||||
} else if (parentLink && parentLink.getAttribute('title')) {
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (img.src && (img.src.includes('logo') || img.className.includes('logo'))) {
|
||||||
|
img.setAttribute('alt', getInstanceName());
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (parentLink && parentLink.getAttribute('title')) {
|
||||||
img.setAttribute('alt', parentLink.getAttribute('title'));
|
img.setAttribute('alt', parentLink.getAttribute('title'));
|
||||||
} else {
|
} else {
|
||||||
img.setAttribute('alt', 'Görsel');
|
img.setAttribute('alt', 'Görsel');
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "peertube-plugin-yaktube-ondemand",
|
"name": "peertube-plugin-yaktube-ondemand",
|
||||||
"version": "1.7.1",
|
"version": "1.7.2",
|
||||||
"description": "Accessible On-Demand YouTube Import, Live Streams, Smart Recommendations, Sleep Timer, Touch Gestures, Voice Assistant & A11y Engine for PeerTube",
|
"description": "Accessible On-Demand YouTube Import, Live Streams, Smart Recommendations, Sleep Timer, Touch Gestures, Voice Assistant & A11y Engine for PeerTube",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"library": "./main.js",
|
"library": "./main.js",
|
||||||
|
|||||||
Reference in New Issue
Block a user