aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorMikael Nordfeldth <mmn@hethane.se>2014-05-10 02:50:56 +0200
committerMikael Nordfeldth <mmn@hethane.se>2014-05-10 02:50:56 +0200
commitc075b9f73068066897f2d42cdbcf1be1bf812380 (patch)
tree659b6bf8d129fa10e2f5a10c790cfd7588e3a33c /js
parentd2881757a42ec7795e79dc8c501be8d36edeb4ec (diff)
downloadgnu-social-c075b9f73068066897f2d42cdbcf1be1bf812380.tar
gnu-social-c075b9f73068066897f2d42cdbcf1be1bf812380.zip
Removed 'bookmarklet' since we have Bookmark plugin
Diffstat (limited to 'js')
-rw-r--r--js/util.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/js/util.js b/js/util.js
index 5f95595edd..5cab244bee 100644
--- a/js/util.js
+++ b/js/util.js
@@ -308,7 +308,6 @@ var SN = { // StatusNet
* @fixme cookieValue is a global variable, but probably shouldn't be
* @fixme saving the location cache cookies should be split out
* @fixme some error messages are hardcoded english: needs i18n
- * @fixme special-case for bookmarklet is confusing and uses a global var "self". Is this ok?
*
* @param {jQuery} form: jQuery object whose first element is a form
*
@@ -394,11 +393,6 @@ var SN = { // StatusNet
if (errorResult.length > 0) {
showFeedback('error', errorResult.text());
} else {
- if ($('body')[0].id == 'bookmarklet') {
- // @fixme self is not referenced anywhere?
- self.close();
- }
-
var commandResult = $('#' + SN.C.S.CommandResult, data);
if (commandResult.length > 0) {
showFeedback('success', commandResult.text());