Grammalecte  Check-in [12dc4a856e]

Overview
Comment:[fx][fix] oops, shouldn’t have change if/else
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | fx | shadowdom
Files: files | file ages | folders
SHA3-256: 12dc4a856e8426e560c0b0c956215466c0587a1da49050d72380d65d3b692fc6
User & Date: olr on 2018-11-02 09:32:36
Other Links: branch diff | manifest | tags
Context
2018-11-02
09:35
[fx] merge shadowdom (good work!) check-in: 7c9b320470 user: olr tags: trunk, fx
09:32
[fx][fix] oops, shouldn’t have change if/else Closed-Leaf check-in: 12dc4a856e user: olr tags: fx, shadowdom
09:23
[fx] fix variables name check-in: a59c1fc4c3 user: olr tags: fx, shadowdom
Changes

Modified gc_lang/fr/webext/content_scripts/menu.js from [2f2ac530b7] to [016cff18fe].

54
55
56
57
58
59
60
61
62
63

64
65
66
67
68
69
70
        xNewNode.style.marginTop = nMarginTop + "px";
    }

    _createListeners () {
        this.xNode.addEventListener('focus', (e) => {
            if (this.bShadow) {
                this.xShadowBtn.style.display = "block";
            } else {
                this.xButton.style.display = "block";
            }

        });
        /*this.xNode.addEventListener('blur', (e) => {
            window.setTimeout(() => {this.xButton.style.display = "none";}, 300);
        });*/
    }

    _getText () {







<
<

>







54
55
56
57
58
59
60


61
62
63
64
65
66
67
68
69
        xNewNode.style.marginTop = nMarginTop + "px";
    }

    _createListeners () {
        this.xNode.addEventListener('focus', (e) => {
            if (this.bShadow) {
                this.xShadowBtn.style.display = "block";


            }
            this.xButton.style.display = "block";
        });
        /*this.xNode.addEventListener('blur', (e) => {
            window.setTimeout(() => {this.xButton.style.display = "none";}, 300);
        });*/
    }

    _getText () {
153
154
155
156
157
158
159
160

161
162
163
164
            this.xButton.parentNode.removeChild(this.xButton);
        }
    }

    switchMenu () {
        if (this.bShadow) {
            this.xShadowMenu.style.display = (this.xShadowMenu.style.display == "block") ? "none" : "block";
        } else {

            this.xMenu.style.display = (this.xMenu.style.display == "block") ? "none" : "block";
        }
    }
}







<
>
|
|
|
<
152
153
154
155
156
157
158

159
160
161
162

            this.xButton.parentNode.removeChild(this.xButton);
        }
    }

    switchMenu () {
        if (this.bShadow) {
            this.xShadowMenu.style.display = (this.xShadowMenu.style.display == "block") ? "none" : "block";

        }
        this.xMenu.style.display = (this.xMenu.style.display == "block") ? "none" : "block";
    }
}