mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-20 00:34:50 +00:00
Avoided using .hasAttribute()
This commit is contained in:
parent
119f11f651
commit
a7dceac7b8
@ -179,7 +179,8 @@ var inputTiddlerDOM = function(node) {
|
|||||||
while(e && e.nodeName.toLowerCase() !== "pre") {
|
while(e && e.nodeName.toLowerCase() !== "pre") {
|
||||||
e = e.nextSibling;
|
e = e.nextSibling;
|
||||||
}
|
}
|
||||||
if(e && node.hasAttribute("title")) {
|
var title = node.getAttribute ? node.getAttribute("title") : null;
|
||||||
|
if(e && title) {
|
||||||
var i,
|
var i,
|
||||||
attrs = node.attributes,
|
attrs = node.attributes,
|
||||||
tiddler = {
|
tiddler = {
|
||||||
|
Loading…
Reference in New Issue
Block a user