]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/decaf-mobile/js/theme.js
eliminate Cropper conflicts with jQuery
[friendica.git] / view / theme / decaf-mobile / js / theme.js
index cd9a17f0dd3cf51d2b0bc0371168b20115957396..c10382264afab5968d2c6cdeeca6a44f794a55cd 100644 (file)
@@ -23,11 +23,11 @@ document.addEventListener('DOMContentLoaded', function(){
                        window.imageUploadButton,
                        { action: 'wall_upload/'+window.nickname,
                                name: 'userfile',
-                               onSubmit: function(file,ext) { $j('#profile-rotator').show(); },
+                               onSubmit: function(file,ext) { $('#profile-rotator').show(); },
                                onComplete: function(file,response) {
-                                       var currentText = $j(window.jotId).val();
-                                       $j(window.jotId).val(currentText + response);
-                                       $j('#profile-rotator').hide();
+                                       var currentText = $(window.jotId).val();
+                                       $(window.jotId).val(currentText + response);
+                                       $('#profile-rotator').hide();
                                }                                
                        }
                );
@@ -37,11 +37,11 @@ document.addEventListener('DOMContentLoaded', function(){
                                'wall-file-upload',
                                { action: 'wall_attach/'+window.nickname,
                                        name: 'userfile',
-                                       onSubmit: function(file,ext) { $j('#profile-rotator').show(); },
+                                       onSubmit: function(file,ext) { $('#profile-rotator').show(); },
                                        onComplete: function(file,response) {
-                                               var currentText = $j(window.jotId).val();
-                                               $j(window.jotId).val(currentText + response);
-                                               $j('#profile-rotator').hide();
+                                               var currentText = $(window.jotId).val();
+                                               $(window.jotId).val(currentText + response);
+                                               $('#profile-rotator').hide();
                                        }                                
                                }
                        );