mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-07-22 06:28:46 -04:00
refactoring to improve code quality
This commit is contained in:
parent
79509ad48a
commit
3b3b5277eb
17 changed files with 223 additions and 246 deletions
|
@ -507,7 +507,7 @@ $(function() {
|
|||
|
||||
/**
|
||||
* Get the pastes unique identifier from the URL
|
||||
* eg. http://server.com/zero/?c05354954c49a487#xxx --> c05354954c49a487
|
||||
* eg. http://server.com/zero/?c05354954c49a487#c05354954c49a487 returns c05354954c49a487
|
||||
*
|
||||
* @return string unique identifier
|
||||
*/
|
||||
|
@ -589,7 +589,7 @@ $(function() {
|
|||
this.prettyPrint.html(
|
||||
prettyPrintOne(text, null, true)
|
||||
);
|
||||
};
|
||||
}
|
||||
default:
|
||||
// Convert URLs to clickable links.
|
||||
helper.urls2links(this.clearText);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue