]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Timeout should be 10000, not 10
authorSarven Capadisli <csarven@status.net>
Wed, 13 Jan 2010 15:50:45 +0000 (15:50 +0000)
committerSarven Capadisli <csarven@status.net>
Wed, 13 Jan 2010 15:50:45 +0000 (15:50 +0000)
Revert "Unchecks location sharing for geo location if it timesout"

This reverts commit 8887d7a314bdbf4e4fc6ca26addf5ce28284d697.

js/util.js

index e269798d8921230641fe45fe0dfa671c4edd70d9..b56410e62fe2f771083da2f74e7e618e4e481200 100644 (file)
@@ -638,13 +638,12 @@ var SN = { // StatusNet
                                                 break;
                                             case error.TIMEOUT:
                                                 $('#'+SN.C.S.NoticeGeoName).text(NoticeDataGeo_text.ErrorTimeout).removeClass('processing');
-                                                $('#'+SN.C.S.NoticeDataGeo).attr('checked', false);
                                                 break;
                                         }
                                     },
 
                                     {
-                                        timeout: 10
+                                        timeout: 10000
                                     }
                                 );
                             }