Skip to content

Commit 40c96e3

Browse files
committed
[design] provide url helper text on add bookmark modal
1 parent 442e084 commit 40c96e3

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

‎src/js/link.js‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,14 @@ var link = (function(){
600600
varurlInputWrap=helper.node("div|class:input-wrap");
601601
varurlLabel=helper.node("label:URL|for:link-form-input-url");
602602
varurlInput=helper.node("input|type:text,class:link-form-input-url mb-0,id:link-form-input-url,placeholder:https://www.example.com/,tabindex:1,autocomplete:off,autocorrect:off,autocapitalize:off,spellcheck:false");
603+
varurlInputHelper=helper.makeNode({
604+
tag: "p",
605+
text: "Be sure to use the full URL and include \"http://\" or \"https://\".",
606+
attr: [{
607+
key: "class",
608+
value: "form-helper small muted"
609+
}]
610+
});
603611
varcolorWrap=helper.node("div|class:input-wrap");
604612
varcolorFormGroup=helper.node("div|class:form-group mb-0");
605613
varcolorLabel=helper.node("label:Accent override|for:link-form-input-color");
@@ -638,6 +646,7 @@ var link = (function(){
638646
urlInputWrap.appendChild(urlLabel);
639647
urlInputWrap.appendChild(urlInput);
640648
fieldset.appendChild(urlInputWrap);
649+
fieldset.appendChild(urlInputHelper);
641650
fieldset.appendChild(helper.node("hr"));
642651
colorFormGroup.appendChild(colorInput);
643652
colorButtonRefresh.appendChild(colorButtonRefreshIcon);

‎src/js/version.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
12
varversion=(function(){
23

3-
varcurrent="3.68.0";
4+
varcurrent="3.69.0";
45

56
varcompare=function(a,b){
67
varpa=a.split(".");

‎src/manifest.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "nightTab",
33
"short_name": "nightTab",
44
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
5-
"version": "3.68.0",
5+
"version": "3.69.0",
66
"manifest_version": 2,
77
"chrome_url_overrides":{
88
"newtab": "index.html"

0 commit comments

Comments
(0)