Skip to content

Commit d5c8c1d

Browse files
committed
Finally remove XHTML from .js files
Last but not least
1 parent 113c862 commit d5c8c1d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

js/common.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ $(document).ready(function() {
507507
beforeSend: function() {
508508
$("#Vu"+id).hide();
509509
$("#Vd"+id).hide();
510-
$("#V"+id).html("<img src=\"/images/working.gif\" alt=\"Working...\" border=\"0\" title=\"Working...\" />");
510+
$("#V"+id).html("<img src=\"/images/working.gif\" alt=\"Working...\" border=\"0\" title=\"Working...\">");
511511
}
512512
});
513513
request.done(function(data) {
@@ -682,7 +682,7 @@ function flashMessage(o)
682682

683683
var id = 'id_' + Math.random().toString().replace('0.', '');
684684

685-
var message = $('<div />')
685+
var message = $('<div>')
686686
.addClass('message ' + options.type)
687687
.data('type', options.type)
688688
.attr('id', id)

js/search.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@
338338

339339
// Does a result count already exist in this resultHeading?
340340
if(resultCount.length == 0) {
341-
var results = $("<span class='result-count' />").text(numResults);
341+
var results = $("<span class='result-count'>").text(numResults);
342342
resultHeading.append(results);
343343
} else {
344344
resultCount.text(numResults);
@@ -387,7 +387,7 @@
387387
* manipulation, which breaks the auto-submit functionality we
388388
* previously relied upon for enter keypresses in the input box to
389389
* work. Adding a hidden submit button re-enables it. */
390-
$("<input type='submit' style='visibility: hidden; position: fixed' />").insertAfter(element);
390+
$("<input type='submit' style='visibility: hidden; position: fixed'>").insertAfter(element);
391391

392392
// Fix for a styling issue on the created input element.
393393
$(".tt-hint", $(element).parent()).addClass("search-query");

js/usernotes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ $(document).ready(function() {
1414
beforeSend: function() {
1515
$("#Vu"+id).hide();
1616
$("#Vd"+id).hide();
17-
$("#V"+id).html("<img src=\"/images/working.gif\" alt=\"Working...\" border=\"0\" title=\"Working...\" />");
17+
$("#V"+id).html("<img src=\"/images/working.gif\" alt=\"Working...\" border=\"0\" title=\"Working...\">");
1818
}
1919
});
2020
request.done(function(data) {

0 commit comments

Comments
 (0)