mirror of
				http://git.whoc.org.uk/git/password-manager.git
				synced 2025-11-04 13:07:34 +01:00 
			
		
		
		
	Fixed offline copy issue with Chrome
This commit is contained in:
		@@ -1045,19 +1045,19 @@ Clipperz.log("THE BROWSER IS OFFLINE");
 | 
				
			|||||||
	//=========================================================================
 | 
						//=========================================================================
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	historyReplaceState: function (args) {
 | 
						historyReplaceState: function (args) {
 | 
				
			||||||
		if (window.document.origin != null) {
 | 
							if ((window.document.origin != null) && (window.document.origin != "null")) {
 | 
				
			||||||
			window.history.replaceState.apply(window.history, arguments);
 | 
								window.history.replaceState.apply(window.history, arguments);
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
	historyPushState: function (args) {
 | 
						historyPushState: function (args) {
 | 
				
			||||||
		if (window.document.origin != null) {
 | 
							if ((window.document.origin != null) && (window.document.origin != "null")) {
 | 
				
			||||||
			window.history.pushState.apply(window.history, arguments);
 | 
								window.history.pushState.apply(window.history, arguments);
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
	historyState: function (args) {
 | 
						historyState: function (args) {
 | 
				
			||||||
		if (window.document.origin != null) {
 | 
							if ((window.document.origin != null) && (window.document.origin != "null")) {
 | 
				
			||||||
			return window.history.state.apply(window.history, arguments);
 | 
								return window.history.state.apply(window.history, arguments);
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user