]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/noticeform.php
use a data attribute instead of 'title' for geo lookup api; fixes failure of cloned...
[quix0rs-gnu-social.git] / lib / noticeform.php
index 9d931b92ed5d06165e69fb16916dd3c1d4f1d7e0..e604ee9fc48fe6b9d5639c1d205895c21a6d42c5 100644 (file)
@@ -208,7 +208,7 @@ class NoticeForm extends Form
                 $this->out->hidden('notice_data-location_ns', empty($this->location_ns) ? (empty($this->profile->location_ns) ? null : $this->profile->location_ns) : $this->location_ns, 'location_ns');
 
                 $this->out->elementStart('div', array('class' => 'notice_data-geo_wrap',
-                                                      'title' => common_local_url('geocode')));
+                                                      'data-api' => common_local_url('geocode')));
 
                 // @fixme checkbox method allows no way to change the id without changing the name
                 //$this->out->checkbox('notice_data-geo', _('Share my location'), true);