Commit 8a1744be authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

feat: show bookmark for other platforms

parent c5357869
......@@ -13,6 +13,7 @@ banner: default # When you have custom images, change this setting's value to t
# Refer to assets/banners/default or assets/banners/frozen
logo: small # Change to "big" (without quotas) in case of having broad logo
new_menu: false
bookmarks_enabled: true
twitter_username: uni_lu
facebook_username: uni.lu
......
......@@ -4,9 +4,13 @@
var os = detect_os();
var message = 'Please click "Add Bookmark" in the bookmarks bar to add the bookmark'
if (os == 'Mac OS') {
if (os == 'Mac OS' || os == 'undefined') {
message = 'In order to add the bookmark, please tap COMMAND + D on your keyboard, and click "Done!"';
}
} else if (os == 'Windows' || os == 'Linux') {
message = 'In order to add the bookmark, please tap Windows + D on your keyboard, and click "Done!"';
} else if (os == 'Android') {
message = 'Please tap the "Menu" icon (top right), then "Add bookmark" icon (at the top)'
}
alert(message);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment