diff --git a/assets/javascripts/lib/util.coffee b/assets/javascripts/lib/util.coffee
index df3bfde2..f90638cc 100644
--- a/assets/javascripts/lib/util.coffee
+++ b/assets/javascripts/lib/util.coffee
@@ -321,7 +321,9 @@ $.framify = (fn, obj) ->
$.noop = ->
$.popup = (value) ->
- open value.href or value, '_blank'
+ win = window.open()
+ win.opener = null if win.opener
+ win.location = value.href or value
return
$.isTouchScreen = ->
diff --git a/assets/javascripts/news.json b/assets/javascripts/news.json
index 5eb4e159..4d5944c4 100644
--- a/assets/javascripts/news.json
+++ b/assets/javascripts/news.json
@@ -43,7 +43,7 @@
"New documentations: Erlang and Tcl/Tk"
], [
"2016-01-24",
- "“Multi-version support” has landed!\nClick Select documentation to pick which versions to use. More versions will be added in the coming weeks.\nIf you notice any bugs, please report them on GitHub."
+ "“Multi-version support” has landed!\nClick Select documentation to pick which versions to use. More versions will be added in the coming weeks.\nIf you notice any bugs, please report them on GitHub."
], [
"2015-11-22",
"New documentations: Phoenix, Dojo, Relay and Flow"
@@ -67,7 +67,7 @@
"New documentations: Q and OpenTSDB"
], [
"2015-07-26",
- "Added search abbreviations (e.g. $
is an alias for jQuery
).\nClick here to see the full list. Feel free to suggest more on GitHub.",
+ "Added search abbreviations (e.g. $
is an alias for jQuery
).\nClick here to see the full list. Feel free to suggest more on GitHub.",
"Added shift + ↓/↑
shortcut for scrolling (same as alt + ↓/↑
)."
], [
"2015-07-12",
@@ -96,10 +96,10 @@
"New io.js, Symfony, Clojure, Lua and Yii 1.1 documentations"
], [
"2015-02-08",
- "New dark theme\nClick the icon in the bottom left corner to activate.\nFeedback welcome :)"
+ "New dark theme\nClick the icon in the bottom left corner to activate.\nFeedback welcome :)"
], [
"2015-01-13",
- "Offline mode has landed!\nIf you notice any bugs, please report them on GitHub."
+ "Offline mode has landed!\nIf you notice any bugs, please report them on GitHub."
], [
"2014-12-21",
"New React, RethinkDB, Socket.IO, Modernizr and Bower documentations"
@@ -111,7 +111,7 @@
"New Python 2 documentation"
], [
"2014-11-09",
- "New design\nFeedback welcome on Twitter and GitHub."
+ "New design\nFeedback welcome on Twitter and GitHub."
], [
"2014-10-19",
"New SVG, Marionette.js, and Mongoose documentations"
diff --git a/assets/javascripts/templates/notif_tmpl.coffee b/assets/javascripts/templates/notif_tmpl.coffee
index ad38b40a..3dcfd1b4 100644
--- a/assets/javascripts/templates/notif_tmpl.coffee
+++ b/assets/javascripts/templates/notif_tmpl.coffee
@@ -13,7 +13,7 @@ app.templates.notifError = ->
textNotif """ Oops, an error occured. """,
""" Try reloading, and if the problem persists,
resetting the app.
- You can also report this issue on GitHub. """
+ You can also report this issue on GitHub. """
app.templates.notifQuotaExceeded = ->
textNotif """ The offline database has exceeded its size limitation. """,
@@ -51,8 +51,8 @@ app.templates.notifUpdates = (docs, disabledDocs) ->
app.templates.notifShare = ->
textNotif """ Hi there! """,
""" Like DevDocs? Help us reach more developers by sharing the link with your friends on
- Twitter, Facebook,
- Reddit, etc.
Thanks :) """
+ Twitter, Facebook,
+ Reddit, etc.
Thanks :) """
app.templates.notifUpdateDocs = ->
textNotif """ Documentation updates available. """,
diff --git a/assets/javascripts/templates/pages/root_tmpl.coffee.erb b/assets/javascripts/templates/pages/root_tmpl.coffee.erb
index 0d6af27d..c7a768a0 100644
--- a/assets/javascripts/templates/pages/root_tmpl.coffee.erb
+++ b/assets/javascripts/templates/pages/root_tmpl.coffee.erb
@@ -79,6 +79,6 @@ app.templates.androidWarning = """
DevDocs is running inside an Android WebView. Some features may not work properly.
If you downloaded an app called DevDocs on the Play Store, please uninstall it — it's made by someone who is using (and profiting from) the name DevDocs without permission. -
To install DevDocs on your phone, visit devdocs.io in Chrome and select "Add to home screen" in the menu. +
To install DevDocs on your phone, visit devdocs.io in Chrome and select "Add to home screen" in the menu. """ diff --git a/assets/javascripts/templates/sidebar_tmpl.coffee b/assets/javascripts/templates/sidebar_tmpl.coffee index 635880c5..f37dabcc 100644 --- a/assets/javascripts/templates/sidebar_tmpl.coffee +++ b/assets/javascripts/templates/sidebar_tmpl.coffee @@ -60,7 +60,7 @@ templates.sidebarDisabledVersionedDoc = (doc, versions) -> templates.sidebarPickerNote = """