#2755 closed bug (wontfix)
Update of the <title> tag
Reported by: | azrail | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | manipulation | Version: | 1.2.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I've noticed something a bit strange between FF2 and Safari. I am not sure if this is a jQuery bug, or a difference in how browsers work.
However, I have the following code to update the document.title portion for the browser.
if (document.title != $("title").text()+" "+owner.username+"-"+ticket.t_id) { document.title = $("title").text()+" "+owner.username+"-"+ticket.t_id; }
In FF when I alert $("title") I get the same "default" title I have in my HTML. However, when using Safari, the $("title") variable changes with each time I update the document.title.
Change History (19)
comment:1 Changed 15 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:7 Changed 12 years ago by
Component: | core → manipulation |
---|---|
Milestone: | 1.2.4 |
Priority: | minor → low |
Note: See
TracTickets for help on using
tickets.
The correct cross-browser way to change the document title is through the document.title property.