Overview
| Comment: | [fx][bug] init: set this |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk | fx |
| Files: | files | file ages | folders |
| SHA3-256: |
7abad73bbbd773da9401be20f3b9b885 |
| User & Date: | olr on 2019-03-04 09:48:59 |
| Other Links: | manifest | tags |
Context
|
2019-03-04
| ||
| 09:50 | [graphspell] ibdawg: suggestions for trailing numbers -> exponent check-in: 0d2727274d user: olr tags: trunk, graphspell | |
| 09:48 | [fx][bug] init: set this check-in: 7abad73bbb user: olr tags: trunk, fx | |
|
2019-03-03
| ||
| 20:52 | [misc] SublimeText syntax update check-in: 27c1700da9 user: olr tags: trunk, misc | |
Changes
Modified gc_lang/fr/webext/content_scripts/init.js from [9009a7100d] to [f86f05b6a6].
| ︙ | ︙ | |||
102 103 104 105 106 107 108 109 110 111 112 |
}
},
observePage: function () {
/*
When a textarea is added via jascript we add the menu :)
*/
this.xObserver = new MutationObserver(function (mutations) {
mutations.forEach(function (mutation) {
for (let i = 0; i < mutation.addedNodes.length; i++){
if (mutation.addedNodes[i].tagName == "TEXTAREA") {
| > | | | 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 |
}
},
observePage: function () {
/*
When a textarea is added via jascript we add the menu :)
*/
let that = this;
this.xObserver = new MutationObserver(function (mutations) {
mutations.forEach(function (mutation) {
for (let i = 0; i < mutation.addedNodes.length; i++){
if (mutation.addedNodes[i].tagName == "TEXTAREA") {
if (that.oOptions === null || that.oOptions.textarea) {
oGrammalecte.lMenu.push(new GrammalecteMenu(oGrammalecte.nMenu, mutation.addedNodes[i]));
oGrammalecte.nMenu += 1;
}
} else if (mutation.addedNodes[i].getElementsByTagName) {
if (that.oOptions === null || that.oOptions.textarea) {
for (let xNode of mutation.addedNodes[i].getElementsByTagName("textarea")) {
oGrammalecte.lMenu.push(new GrammalecteMenu(oGrammalecte.nMenu, xNode));
oGrammalecte.nMenu += 1;
}
}
}
}
|
| ︙ | ︙ |