mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-26 01:50:28 +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") {
|
||||
e = e.nextSibling;
|
||||
}
|
||||
if(e && node.hasAttribute("title")) {
|
||||
var title = node.getAttribute ? node.getAttribute("title") : null;
|
||||
if(e && title) {
|
||||
var i,
|
||||
attrs = node.attributes,
|
||||
tiddler = {
|
||||
|
Loading…
Reference in New Issue
Block a user