nodebb-plugin-niki-loyalty 1.3.11 → 1.3.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/static/lib/client.js +2 -4
package/package.json
CHANGED
package/static/lib/client.js
CHANGED
|
@@ -90,11 +90,10 @@ $(document).ready(function () {
|
|
|
90
90
|
|
|
91
91
|
// -------------------------------------------------------------
|
|
92
92
|
// 🐱 FLOATING WIDGET - DEVRE DIŞI
|
|
93
|
-
//
|
|
94
|
-
// Bu nedenle client.js widget'ı oluşturmuyor
|
|
93
|
+
// Widget NodeBB widget sisteminden elle ekleniyor
|
|
95
94
|
// -------------------------------------------------------------
|
|
96
95
|
|
|
97
|
-
// Sadece puan güncelleme fonksiyonu
|
|
96
|
+
// Sadece puan güncelleme fonksiyonu
|
|
98
97
|
function updateFloatingWidget() {
|
|
99
98
|
// Custom widget'ta puan gösterimi varsa güncelle
|
|
100
99
|
if ($('#widget-user-points').length === 0) return;
|
|
@@ -112,7 +111,6 @@ $(document).ready(function () {
|
|
|
112
111
|
console.log('[Niki-Loyalty] Widget puanı yüklenemedi.');
|
|
113
112
|
});
|
|
114
113
|
}
|
|
115
|
-
|
|
116
114
|
// Fonksiyonu global yap
|
|
117
115
|
window.updateFloatingWidget = updateFloatingWidget;
|
|
118
116
|
|