File tree Expand file tree Collapse file tree
apps/juxtaposition-ui/src/webfiles/ctr/js Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -458,12 +458,12 @@ document.addEventListener('DOMContentLoaded', function () {
458458 initAll ( ) ;
459459 stopLoading ( ) ;
460460} ) ;
461- document . addEventListener ( 'PjaxRequest' , function ( e ) {
462- console . log ( e ) ;
461+ document . addEventListener ( 'PjaxRequest' , function ( _e ) {
462+ // console.log(e);
463463 cave . transition_begin ( ) ;
464464} ) ;
465- document . addEventListener ( 'PjaxLoaded' , function ( e ) {
466- console . log ( e ) ;
465+ document . addEventListener ( 'PjaxLoaded' , function ( _e ) {
466+ // console.log(e);
467467} ) ;
468468document . addEventListener ( 'PjaxDone' , function ( _e ) {
469469 initAll ( ) ;
@@ -473,5 +473,6 @@ document.addEventListener('PjaxDone', function (_e) {
473473 } else {
474474 cave . toolbar_setButtonType ( 0 ) ;
475475 }
476+ cave . requestGc ( ) ;
476477 cave . transition_end ( ) ;
477478} ) ;
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ export var Pjax = {
2424 if ( ! els ) {
2525 return ;
2626 }
27- console . log ( this . elements ) ;
28- console . log ( els ) ;
27+ // console.log(this.elements);
28+ // console.log(els);
2929 for ( var i = 0 ; i < els . length ; i ++ ) {
3030 els [ i ] . addEventListener ( 'click' , function ( e ) {
3131 pageWrapper ( e , this ) ;
@@ -41,7 +41,7 @@ export var Pjax = {
4141 if ( ! push && Pjax . href . indexOf ( url ) === - 1 ) {
4242 Pjax . history . push ( Pjax . href ) ;
4343 }
44- console . log ( url ) ;
44+ // console.log(url);
4545 } ,
4646 get : function ( url , callback ) {
4747 var xhttp = new XMLHttpRequest ( ) ;
@@ -68,7 +68,7 @@ export var Pjax = {
6868 }
6969 oldElement . outerHTML = newElement . outerHTML ;
7070 }
71- console . log ( data ) ;
71+ // console.log(data);
7272 Pjax . refresh ( ) ;
7373 Pjax . href = data . finalURL ;
7474 document . dispatchEvent ( Pjax . events . PjaxDone ) ;
You can’t perform that action at this time.
0 commit comments