| @@ -192,9 +192,9 @@ | ||
| 192 | 192 | const url = $button.data('url'); |
| 193 | 193 | const title = $button.data('title') || ''; |
| 194 | 194 | |
| 195 | 195 | if (!url) { |
| 196 | - console.warn('No URL provided for action button'); | |
| 196 | + // console.warn('No URL provided for action button'); | |
| 197 | 197 | return; |
| 198 | 198 | } |
| 199 | 199 | |
| 200 | 200 | switch (action) { |
| @@ -264,9 +264,9 @@ | ||
| 264 | 264 | $tempDiv.remove(); |
| 265 | 265 | }, 100); |
| 266 | 266 | }); |
| 267 | 267 | } else { |
| 268 | - console.error('LightGallery not available'); | |
| 268 | + // console.error('LightGallery not available'); | |
| 269 | 269 | window.open(safeUrl, '_blank'); |
| 270 | 270 | } |
| 271 | 271 | }, |
| 272 | 272 | |
| @@ -272,9 +272,9 @@ | ||
| 272 | 272 | |
| 273 | 273 | openVideoLightbox(url, title) { |
| 274 | 274 | // Check if LightGallery is available |
| 275 | 275 | if (typeof $.fn.lightGallery === 'undefined') { |
| 276 | - console.warn('LightGallery not loaded, opening video in new tab'); | |
| 276 | + // console.warn('LightGallery not loaded, opening video in new tab'); | |
| 277 | 277 | const safeUrl = this.normalizeSafeUrl(url); |
| 278 | 278 | if (safeUrl) { |
| 279 | 279 | window.open(safeUrl, '_blank'); |
| 280 | 280 | } |
| @@ -293,9 +293,9 @@ | ||
| 293 | 293 | |
| 294 | 294 | // Process YouTube URL to get video ID |
| 295 | 295 | const videoId = this.getYouTubeVideoId(safeUrl); |
| 296 | 296 | if (!videoId) { |
| 297 | - console.warn('Invalid YouTube URL'); | |
| 297 | + // console.warn('Invalid YouTube URL'); | |
| 298 | 298 | window.open(safeUrl, '_blank'); |
| 299 | 299 | return; |
| 300 | 300 | } |
| 301 | 301 | |
| @@ -458,9 +458,9 @@ | ||
| 458 | 458 | success: (response) => { |
| 459 | 459 | this.handleFilterResponse(response); |
| 460 | 460 | }, |
| 461 | 461 | error: (xhr, status, error) => { |
| 462 | - console.error('Dynamic Posts Grid AJAX Error:', error); | |
| 462 | + // console.error('Dynamic Posts Grid AJAX Error:', error); | |
| 463 | 463 | this.hideLoading(); |
| 464 | 464 | this.isLoading = false; |
| 465 | 465 | } |
| 466 | 466 | }); |
| @@ -501,9 +501,9 @@ | ||
| 501 | 501 | success: (response) => { |
| 502 | 502 | this.handleLoadMoreResponse(response); |
| 503 | 503 | }, |
| 504 | 504 | error: (xhr, status, error) => { |
| 505 | - console.error('Dynamic Posts Grid Load More Error:', error); | |
| 505 | + // console.error('Dynamic Posts Grid Load More Error:', error); | |
| 506 | 506 | this.hideLoading(); |
| 507 | 507 | this.isLoading = false; |
| 508 | 508 | this.currentPage--; // Revert page increment on error |
| 509 | 509 | } |