From 0a3d12a61f8bfa2b679bfc25bf6396092933ba24 Mon Sep 17 00:00:00 2001 From: Gabriel Dunne Date: Sun, 18 Dec 2011 08:23:49 -0800 Subject: [PATCH] Added description with expanding area --- bookmarklet.js | 2 +- get.php | 43 +++++++++++++++++++++++++++++-------------- index.php | 2 +- new.php | 29 ++++++++++++++++------------- put.php | 10 +++++----- style.css | 26 ++++++++++++++++---------- 6 files changed, 68 insertions(+), 44 deletions(-) diff --git a/bookmarklet.js b/bookmarklet.js index ff9b7de..6ed8f4d 100644 --- a/bookmarklet.js +++ b/bookmarklet.js @@ -6,7 +6,7 @@ d = w.open( 'http://clmpr/new.php?' + 'url=' + c(b.location) - + '&title=' + c(b.title) + + '&title=' + c(b.title || b.location) , 'clmpr_popup' , 'left=' + (( w.screenX || w.screenLeft ) + 10) + ',top=' + (( w.screenY || w.screenTop) + 10 ) diff --git a/get.php b/get.php index a0899e6..730f871 100644 --- a/get.php +++ b/get.php @@ -62,6 +62,8 @@ case 'xml' :