Commit 7ee4692 1 parent 24d1118 commit 7ee4692 Copy full SHA for 7ee4692
File tree 1 file changed +2
-6
lines changed
app/django-bbx/bbx/static/js/modules/media
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -63,8 +63,7 @@ define([
63
63
if ( _ . isArray ( tags ) ) {
64
64
tags = tags . join ( '/' ) ;
65
65
}
66
- console . log ( tags ) ;
67
-
66
+
68
67
// remove last and first char if is a /
69
68
tags = ( tags [ tags . length - 1 ] === '/' ) ? tags . substring ( 0 , tags . length - 1 ) : tags ;
70
69
while ( tags [ 0 ] === '/' ) {
@@ -85,8 +84,7 @@ define([
85
84
url_is_search = false ,
86
85
url_is_gallery = false ,
87
86
tags = [ ] ,
88
- current_url = Backbone . history . fragment ;
89
-
87
+ current_url = decodeURI ( Backbone . history . fragment ) ;
90
88
91
89
url_is_search = current_url . indexOf ( 'bbx/search' ) ;
92
90
url_is_gallery = current_url . indexOf ( 'gallery' ) ;
@@ -495,7 +493,6 @@ define([
495
493
} ;
496
494
497
495
$ ( function ( ) {
498
- console . log ( el )
499
496
$ ( el + ' a' ) . tagcloud ( ) ;
500
497
} ) ;
501
498
@@ -812,7 +809,6 @@ define([
812
809
urlApi = urlApi || BBX . config . apiUrl + '/' + BBX . config . repository + '/' + BBX . config . mucua + '/bbx/search/' ;
813
810
814
811
console . log ( 'change media limit' ) ;
815
- console . log ( urlApi ) ;
816
812
if ( url . match ( 'limit' ) ) {
817
813
url = url . split ( '/limit' ) [ 0 ] ;
818
814
} else {
You can’t perform that action at this time.
0 commit comments