diff options
Diffstat (limited to 'data/lib/bugzillaDOMFunctions.js')
-rw-r--r-- | data/lib/bugzillaDOMFunctions.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/data/lib/bugzillaDOMFunctions.js b/data/lib/bugzillaDOMFunctions.js index 6823bc1..8f74288 100644 --- a/data/lib/bugzillaDOMFunctions.js +++ b/data/lib/bugzillaDOMFunctions.js @@ -165,8 +165,8 @@ function createNewButton (location, after, cmdObj) { var newId = cmdObj.name.toLowerCase().replace(/[^a-z0-9]+/,"","g") + "_btn"; } catch (e) { console.error("createNewButton : e = " + e + - "\ncreateNewButton : cmdObj.toSource() = " + - cmdObj.toSource()); + "\ncreateNewButton : cmdObj.toSource() = " + + cmdObj.toSource()); } // protection against double-firings @@ -259,7 +259,7 @@ function getProduct() { function commentsWalker (fce) { var comments = document.getElementById("comments"). - getElementsByClassName("bz_comment"); + getElementsByClassName("bz_comment"); Array.forEach(comments, function(item) { fce(item); }); @@ -298,7 +298,7 @@ function parseAttachmentLine(inElem) { // getting MIME type and size var stringArray = inElem.getElementsByClassName("bz_attach_extra_info")[0].textContent. - replace(/[\n ()]+/g, " ").trim().split(", "); + replace(/[\n ()]+/g, " ").trim().split(", "); size = parseInt(stringArray[0], 10); MIMEtype = stringArray[1].split(" ")[0]; @@ -316,7 +316,7 @@ function parseAttachmentLine(inElem) { function getAttachments () { var outAtts = []; var atts = document.getElementById("attachment_table"). - getElementsByTagName("tr"); + getElementsByTagName("tr"); for ( var i = 1, ii = atts.length - 1; i < ii; i++) { outAtts.push(parseAttachmentLine(atts[i])); } @@ -436,7 +436,7 @@ function isEnterprise() { * @return Boolean whether the bug has been triaged or not */ function isTriaged() { - return hasKeyword("Triaged"); + return hasKeyword("Triaged"); } /** |