Skip to content
Extraits de code Groupes Projets
Valider 48c1a5c1 rédigé par Roman Mkrtchian's avatar Roman Mkrtchian
Parcourir les fichiers

fix: remplacement de la balise p générée pour mettre à jour Jaws lors des...

fix: remplacement de la balise p générée pour mettre à jour Jaws lors des requêtes ajax par une balise div
parent 477060d4
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -206,7 +206,7 @@ jQuery.fn.positionner = function(force, setfocus) { ...@@ -206,7 +206,7 @@ jQuery.fn.positionner = function(force, setfocus) {
jQuery.spip.virtualbuffer_id='spip_virtualbufferupdate'; jQuery.spip.virtualbuffer_id='spip_virtualbufferupdate';
jQuery.spip.initReaderBuffer = function(){ jQuery.spip.initReaderBuffer = function(){
if (jQuery('#'+jQuery.spip.virtualbuffer_id).length) return; if (jQuery('#'+jQuery.spip.virtualbuffer_id).length) return;
jQuery('body').append('<p style="float:left;width:0;height:0;position:absolute;left:-5000px;top:-5000px;"><input type="hidden" name="'+jQuery.spip.virtualbuffer_id+'" id="'+jQuery.spip.virtualbuffer_id+'" value="0" /></p>'); jQuery('body').append('<div style="float:left;width:0;height:0;position:absolute;left:-5000px;top:-5000px;"><input type="hidden" name="'+jQuery.spip.virtualbuffer_id+'" id="'+jQuery.spip.virtualbuffer_id+'" value="0" /></div>');
} }
jQuery.spip.updateReaderBuffer = function(){ jQuery.spip.updateReaderBuffer = function(){
var i = jQuery('#'+jQuery.spip.virtualbuffer_id); var i = jQuery('#'+jQuery.spip.virtualbuffer_id);
...@@ -1068,4 +1068,4 @@ onAjaxLoad(function() { ...@@ -1068,4 +1068,4 @@ onAjaxLoad(function() {
jQuery("input[placeholder]:text",this).placeholderLabel(); jQuery("input[placeholder]:text",this).placeholderLabel();
jQuery('.spip_logo_survol',this).hover(spip_logo_survol_hover, spip_logo_survol_out); jQuery('.spip_logo_survol',this).hover(spip_logo_survol_hover, spip_logo_survol_out);
} }
}); });
\ No newline at end of file
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter